我如何将现有的Git存储库推送到Team Foundation Service [英] How can I push my existing Git repository to Team Foundation Service
问题描述
每当我尝试搜索时,像TFS-GIT或GIT-TF。我很确定我不想要这些,因为我认为那些更改为代码库的Team Foundation Server模型,而这不是我想要的。
具体来说,我有一个现有的Git仓库,我想把它推到TFService上。
好的,我显然是过分复杂。这是我做的。- 在TFService中创建一个新项目
- 在Visual中连接到该项目Studio
- 在Visual Studio中克隆该项目
-
git pull c:\source\oldGitProject
就是这样,它将旧位置的所有更改都拉出来了,我可以轻松地将它推送到TFService。
Microsoft now has support for Git repositories on their Team Foundation Service. I have an account on Team Foundation Service, and I'd like to push my existing Git repository to a project there.
Whenever I try to do searches, I keep finding things like TFS-GIT, or GIT-TF. I'm pretty sure I don't want those, as I think those change to the Team Foundation Server model for code repositories, and that's not what I want.
Specifically, I have an existing Git repository that I want to push to TFService.
Okay, I was apparently overcomplicating this. Here's what I did.
- Created a new project in TFService
- Connected to that project in Visual Studio
- Cloned that project in Visual Studio
git pull c:\source\oldGitProject
That was it, it pulled all of the changes from the old location, and I could push that up to TFService easily.
这篇关于我如何将现有的Git存储库推送到Team Foundation Service的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!