加入Git Checkout

功能
This commit is contained in:
marvzhang
2020-03-11 15:18:42 +08:00
parent 23301a50ad
commit fa94034311
4 changed files with 100 additions and 4 deletions

View File

@@ -262,6 +262,7 @@ func main() {
authGroup.GET("/git/branches", routes.GetGitRemoteBranches) // 获取 Git 分支
authGroup.GET("/git/public-key", routes.GetGitSshPublicKey) // 获取 SSH 公钥
authGroup.GET("/git/commits", routes.GetGitCommits) // 获取 Git Commits
authGroup.POST("/git/checkout", routes.PostGitCheckout) // 获取 Git Commits
}
}