简体   繁体   English

使用RestAPI在TFS中初始化Git存储库

[英]Initialize Git repo in TFS using RestAPI

Is there a way to initialize Git repo after creating it using TFS rest-api? 使用TFS rest-api创建Git回购后,是否可以初始化Git回购? I want to see if this can be automated instead of clicking on the Initialize button. 我想看看这是否可以自动化,而不是单击“初始化”按钮。 THank you 谢谢 ![在此处输入图片描述 ] 1 ] 1

Get into the directory of your repo and do this: 进入您的仓库目录并执行以下操作:

git init git初始化

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM