Skip to main content
Glama
08.Git插件.md996 B
--- title: "Git插件" date: "2022-03-01T21:28:35.000Z" permalink: "/pages/plugin/git/" --- > 本插件功能目前为预览特性,非常期待您在issue提出改进意见,更欢迎您直接做出pr。 # 引入依赖 <dependency> <groupId>org.ssssssss</groupId> <artifactId>magic-api-plugin-git</artifactId> <version>magic-api-lastest-version</version> </dependency> # 配置 仓库和分支需要同时存在。 初次启动时,请保证location文件夹为空。 magic-api: resource: type: git git: url: git@xxx.com:xxx/test.git branch: master # username和privateKey只需配置一种,两者同时存在privateKey优先。 privateKey: C:/Users/xx/.ssh/id_rsa # username: xxxx # password: xxxxx # 本地存放路径 location: D:/data/magic-api # 存在的问题 目前因为依赖jgit,privateKey目前好像只支持 ssh-keygen -m PEM 生成的key。如果您有好的解决方案,欢迎pr或者讨论。

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Dwsy/magic-api-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server