问题描述
我向我的开发团队介绍了 Git,除了我之外,每个人都讨厌它.他们想换它与 Team Foundation Server.我觉得这是一个巨大的倒退,虽然我对 TFS 不是很熟悉.有经验的人可以将 TFS 上的分支支持与 Git 分支进行比较吗?另外,总的来说,TFS 的优缺点是什么?之后我会讨厌它吗使用 Git 几年了?
I introduced Git to my dev team, and everyone hates it except me. They want to replaceit with Team Foundation Server. I feel like this is a huge step backwards, although I am not very familiar with TFS. Can someone with experience compare branching support on TFS to Git branching? Also, in general, what are the pros and cons of TFS? Am I going to hate it afterusing Git for a few years?
推荐答案
我认为,声明
除了我,每个人都讨厌它
使任何进一步的讨论都变得浪费:当您继续使用 Git 时,如果出现任何问题,他们会责怪您.
makes any further discussion waste: when you keep using Git, they will blame you if anything goes wrong.
除此之外,对我来说,与我最欣赏的集中式 VCS 相比,Git 有两个优点(部分描述于 Rob Sobers):
Apart from this, for me Git has two advantages over a centralized VCS that I appreciate most (as partly described by Rob Sobers):
- 整个 repo 的自动备份: 每次有人从中央 repo 中提取时,他/她都会获得更改的完整历史记录.当一个 repo 丢失时:别担心,拿走每个工作站上的一个.
- 离线存储库访问:当我在家(或在飞机或火车上)工作时,我可以查看项目的完整历史记录,每次签到,而无需启动 VPN 连接工作并且可以像我以前在工作中一样工作:签到、结帐、分支,任何事情.
- automatic backup of the whole repo: everytime someone pulls from the central repo, he/she gets a full history of the changes. When one repo gets lost: don't worry, take one of those present on every workstation.
- offline repo access: when I'm working at home (or in an airplane or train), I can see the full history of the project, every single checkin, without starting up my VPN connection to work and can work like I were at work: checkin, checkout, branch, anything.
但正如我所说:我认为您正在打一场失败的战斗:当每个人都讨厌 Git 时,请不要使用 Git.它可以帮助您更多地了解他们为什么讨厌 Git,而不是试图说服他们.
But as I said: I think that you're fighting a lost battle: when everyone hates Git, don't use Git. It could help you more to know why they hate Git instead of trying them to convince them.
如果他们只是不想要它,因为这对他们来说是新事物并且不愿意学习新东西:你确定你会和那些员工一起成功开发吗?
If they simply don't want it 'cause it's new to them and are not willing to learn something new: are you sure that you will do successful development with that staff?
真的每个人都讨厌 Git 还是受到某些意见领袖的影响?找到领导,问他们有什么问题.说服他们,你就会说服团队的其他成员.
Does really every single person hate Git or are they influenced by some opinion leaders? Find the leaders and ask them what's the problem. Convince them and you'll convince the rest of the team.
如果你不能说服领导:忘记使用 Git,选择 TFS.会让您的生活更轻松.
If you cannot convince the leaders: forget about using Git, take the TFS. Will make your life easier.
这篇关于Git 与 Team Foundation Server的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!