Git vs TFS的好处 [英] Benefits of Git vs TFS

查看:504
本文介绍了Git vs TFS的好处的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到一个时髦的词:我们应该在GFS中使用Git".我的理解是Git只是DVCS.

TFS支持分支,标记,合并,签入,签出,搁置等所有内容.

有人可以帮助我了解团队在什么情况下使用Git或TFS?

除了本地存储库和分布式存储,它还能为团队带来什么其他好处?

它对分支和合并有更好的支持吗?从我已经看到的内容来看,开发人员可以在他/她的本地存储库中创建新的分支,我认为这应该会使管理分支变得更加困难.

任何建议都会很好.

解决方案

TFS支持分支,标记,合并,签入,签出,搁置等所有内容.

这些是任何VCS(版本控制系统)都支持的功能. Git也支持这些功能(称为 git stash :请参阅" TFS命令的Git等同于搁置/取消搁置?cherry-pick?"和"

正如我在"在哪种方式上,Mercurial比TFS更好/更糟糕?中所述,TFS是ALM(除了简单的VCS功能外,还具有票证,报告,项目跟踪等功能的应用程序生命周期管理)工具.

另请参阅"我应使用哪个版本控制系统? Git与TFVC源代码控制中提到的.

借助诸如git-tf 之类的优惠,您仍然可以将Git集成到TFS.
VS2013也支持Git ,尽管您需要

TFS support everything from branching, labelling, merging, checking in, checking out, shelving, etc.

Could someone please help me understand under what scenarios should team use Git or TFS?

Apart from local repository and distributed, what other benefits can it provide to the team?

Does it have better support of branching and merging? From what I've seen developer can create new branches on his/her local repository, which I think should make more hard to manage branches.

Any suggestions will be good.

解决方案

TFS support everything from branching, labelling, merging, checkin, checkout, shelve etc.

Those are features that any VCS (Version Control System) does support. Git supports those as well (shelve is called git stash: see "what's the Git equivalent of TFS commands shelve/unshelve? cherry-pick?" and "git stash equivalents in other revision control systems?").

As I explained in "In what ways is Mercurial better/worse than TFS?", TFS is a ALM (Application Lifecycle Management) tool, with tickets, reporting, project tracking and more), in addition of the simple VCS features.

See also "Which version control system should I use?", mentioned in "Git vs TFVC Source Control".

With offers like git-tf, you can integrate Git to TFS anyway.
VS2013 supports Git as well, although you need to tweak it to view the TFS work items.

Things start getting interesting if one could have Git as their source control with Team Foundation on the backend for ALM tools.

这篇关于Git vs TFS的好处的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆