我访问了我们的Team Foundation Service页面,发现了一个很棒的新功能: >
这是个好消息。我们在Team Foundation Service和Git中有项目。没有那么多,因为我喜欢Git。它的功能给我留下了非常深刻的印象,但它的界面却让人感觉不舒服。也就是说,Git是开源的公认标准,我喜欢能够通过TFS管理我的Git Repos的想法。获得两全其美(我希望)。
我能够在Git中创建测试项目,并且非常兴奋。
问题:对于所有网站搜索,搜索,戳动,刺戳,我无法弄清楚如何导入
>:设置您的远程设备并推送。确保您在Team Foundation Service中启用备用凭据。 设置您的远程: git remote add< name> < url> , 例如 git remote add origin yourname.visualstudio/DefaultCollection/_git/ProjectName按下它: git push<远程名称> <分行名称> ,例如, git push origin branchname
I visited our Team Foundation Service page and found a great new feature:
New Team Project + Git
This is great news. We have Projects in Team Foundation Service AND Git. Not as much because I love Git. I was very impressed with it's functionality, but never comfortable with its interface. That said, Git is an accepted standard for Open Source and I love the idea of being able to admin my Git Repos through TFS. Getting the best of both worlds (I hope).
I was able to create a Test Project in Git and am excited.
Problem: for all the site searching, googling, poking, prodding, I can't figure out how to import an existing Git Project into TFS.
解决方案tl;dr: Set your remote and push.
Make sure you enable alternate credentials in Team Foundation Service.
Set your remote: git remote add <name> <url>, e.g. git remote add origin yourname.visualstudio/DefaultCollection/_git/ProjectName
Push it: git push <remote name> <name of branch>, e.g. git push origin branchname
更多推荐
如何将Git项目导入到TFS Cloud
发布评论