开始使用版本控制 [英] Getting started with Version Control

查看:129
本文介绍了开始使用版本控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要实现版本控制,即使只是我在家做的开发。我已经阅读了Subversion过去几年的卓越表现,并且正准备专心学习,直到听说Git是即将到来的版本控制系统。



考虑到这种情况,我是否应该暂缓一下,看看哪一个出现在顶端?他们的相对优势是什么?

我在Git注意到的一个问题是,没有很多全功能的GUI,这对我的团队中的许多用户来说很重要。



另外,不介意如何开始使用其中一种的建议。 (教程等)

解决方案

关于版本控制最重要的是:

只需开始使用它 如果您没有使用版本控制,请立即停止阅读并开始使用它。




  cvs  -  svn  -  git  -  hg 

您选择哪一个并不重要。只需选择最简单的一个即可使用,并开始记录代码的历史记录。您可以稍后迁移到另一个(D)VCS。



如果您正在寻找易于使用的GUI,请查看 TortoiseSVN(Windows)版本(Mac)(建议 codingwithoutcomments






编辑:


pix0r说:



Git有一些很好的功能,但是除非你已经使用了像CVS这样的标准,否则你将无法欣赏它们。或Subversion。


这个。使用git是毫无意义的,如果你不知道什么版本控制可以为你做。



编辑2:

刚刚在reddit上看到这个链接: Subversion Cheat Sheet 。很好的快速参考svn命令行。


I need to implement version control, even for just the developing I do at home. I have read about how great Subversion is for the past couple years and was about to dedicate myself to learning this on the side until I heard about Git being the up and coming version control system.

Given the situation, should I hold off and see which one comes out on top? What are their relative advantages?

One issue I noticed with Git is there are not many full featured GUIs, which is important to many users on my team.

Also, wouldn't mind suggestions on how to get started with one or the other. (tutorials, etc.)

解决方案

The most important thing about version control is:

JUST START USING IT

Not using version control is a horrible idea. If you are not using version control, stop reading right now and start using it.

It is very easy to convert from

cvs<->svn<->git<->hg

It doesn't matter which one you choose. Just pick the easiest one for you to use and start recording the history of your code. You can always migrate to another (D)VCS later.

If you are looking for a easy to use GUI look at TortoiseSVN (Windows) and Versions (Mac) (Suggested by codingwithoutcomments)


Edit:

pix0r said:

Git has some nice features, but you won't be able to appreciate them unless you've already used something more standard like CVS or Subversion.

This. Using git is pointless if you don't know what version control can do for you.

Edit 2:

Just saw this link on reddit: Subversion Cheat Sheet. Good quick reference for the svn command line.

这篇关于开始使用版本控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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