【发布时间】:2016-10-02 01:39:38
【问题描述】:
最近几天我一直在研究 TFS,我尝试通过 rest api 实现“git pull”。
我关注了 Rest api Doc
https://www.visualstudio.com/en-us/docs/integrate/api/git/overview
文档具有“创建、删除、查看”功能。 我不确定,如何使用 TFS rest api 拉 git repo。
请给我一些建议或博客来解决这个问题。
提前致谢:)
【问题讨论】:
-
VSTS Rest API 不支持“拉”动作,你可以使用 Giulio 提到的“libgit2”。
-
我用过这个网址-git clone https://$GH_TOKEN@github.com/owner/repo.git
标签: tfs azure-devops