简体   繁体   English

当TFS不在本地时,如何使用Microsoft的Git-TF 1.0

[英]How do I use Microsoft's Git-TF 1.0 when TFS is not on-premises

Following the post 发布后
Using Git in a TFS shop , 在TFS商店中使用Git
Reading Brian Harry's blog on msdn: 在msdn上阅读Brian Harry的博客:
http://blogs.msdn.com/b/bharry/archive/2012/08/13/announcing-git-integration-with-tfs.aspx and http://blogs.msdn.com/b/bharry/archive/2012/08/13/announcing-git-integration-with-tfs.aspx
Having gone through Ms download page: 通过Ms下载页面:
http://www.microsoft.com/en-us/download/details.aspx?id=30474 , http://www.microsoft.com/en-us/download/details.aspx?id=30474

It was not clear to me whether I can use Git-TF 1.0 with a TFS which is not on my premises but accessible via VPN. 我不清楚我是否可以将Git-TF 1.0与TFS一起使用,而TFS不在我的场所,而是可通过VPN访问。
I am open to a work-around in-case its impossible right now; 我愿意在案件中解决它现在不可能的事情; it should allow me to work independently within a team and not get dependent on some other member to push my Git stuff to the TFS. 它应该允许我在团队中独立工作而不依赖于其他成员将我的Git东西推送到TFS。

Thanks. 谢谢。

tl;dr: Yes, it should work, I use it over a PPTP VPN daily (and it's rare that I'm ever not on the VPN.) TL;博士:是的,它应该工作,我用它每天超过一个PPTP VPN(这是罕见的,我曾经上VPN)。

To explain what was meant in that blog post: the Team Foundation Server team makes a distinction between our "hosted" or "cloud" service ( Team Foundation Service ) and our "on-premises" product (the Team Foundation Server you install on your own computer.) We use the term "on-premises" to mean the TFS 2012 you install even if it's not on your local network, or even in your own data center. 要解释该博客文章中的含义:Team Foundation Server团队区分我们的“托管”或“云”服务( Team Foundation Service )和我们的“本地”产品(您安装在您的“内部部署”服务器上)我们使用术语“本地”来表示您安装的TFS 2012,即使它不在您的本地网络上,甚至在您自己的数据中心。

If you're curious, the problem was around authentication - git-tf has no UI and thus can't open up a web browser to require your authentication on tfspreview.com . 如果您感到好奇,问题在于身份验证 - git-tf没有UI,因此无法打开Web浏览器以要求您在tfspreview.com上进行身份验证。 We needed to add support to the Team Foundation Service to allow other credentials. 我们需要为Team Foundation Service添加支持以允许其他凭据。

This has been done and git-tf can now authenticate to the hosted service . 这已经完成, git-tf现在可以对托管服务进行身份验证

If you have problems, please raise an issue on the git-tf codeplex site . 如果您遇到问题,请在git-tf codeplex网站上提出问题。

From the 2nd link: 从第二个链接:

...it will only work with an on premises TFS server – either 2008, 2010 or 2012. However we are working on adding support for Team Foundation Service and I expect it will be available in the next sprint deployment. ...它只适用于本地TFS服务器 - 2008年,2010年或2012年。但是我们正在努力添加对Team Foundation Service的支持,我希望它将在下一个sprint部署中可用。

Sounds like you might have to wait for the next version or play around with the source 听起来你可能不得不等待下一个版本或者使用源代码

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

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