我应该使用SVN还是Git? [英] Should I use SVN or Git?

查看:105
本文介绍了我应该使用SVN还是Git?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始一个新的分布式项目。我应该使用SVN还是Git,为什么?

解决方案

SVN是一个仓库和很多客户端。 Git是一个拥有大量客户端回购的回购商,每个回购商都有一位用户。它是分散到人们可以在本地跟踪他们自己的编辑而不必将事情推送到外部服务器的点。



SVN被设计为更加中央,Git基于每个用户都有自己的Git仓库,这些仓库将变更推回到中央仓库。出于这个原因,Git给个人更好的本地版本控制。

同时,您可以选择 TortoiseGit

a>, GitExtensions (如果你在github上托管你的中央git-repository,他们的自己的客户端 - 适用于Windows的GitHub )。



如果你正在寻找摆脱SVN,你可能想要评估一下 Bazaar 。它是具有这种分布式元素的下一代版本控制系统之一。它不像POSIX那样依赖git,所以有本地Windows版本,它有一些支持它的强大的开源品牌。

不过你可能会甚至不需要这些功能。查看分布式VCS的特性,优点和缺点。如果您需要超过SVN优惠,请考虑一个。如果你不这样做,你可能想要坚持使用SVN(当前)优秀的桌面集成。

I am starting a new distributed project. Should I use SVN or Git, and why?

解决方案

SVN is one repo and lots of clients. Git is a repo with lots of client repos, each with a user. It's decentralised to a point where people can track their own edits locally without having to push things to an external server.

SVN is designed to be more central where Git is based on each user having their own Git repo and those repos push changes back up into a central one. For that reason, Git gives individuals better local version control.

Meanwhile you have the choice between TortoiseGit, GitExtensions (and if you host your "central" git-repository on github, their own client – GitHub for Windows).

If you're looking on getting out of SVN, you might want to evaluate Bazaar for a bit. It's one of the next generation of version control systems that have this distributed element. It isn't POSIX dependant like git so there are native Windows builds and it has some powerful open source brands backing it.

But you might not even need these sorts of features yet. Have a look at the features, advantages and disadvantages of the distributed VCSes. If you need more than SVN offers, consider one. If you don't, you might want to stick with SVN's (currently) superior desktop integration.

这篇关于我应该使用SVN还是Git?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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