Learning Version Control, and learning it well [cl

2020-02-08 08:35发布

Where should I start learning about version control systems? I've used SVN, Team Foundation, and Sourcesafe in the past but I don't really feel like I grasp it completely, and my team doesn't seem to grasp it either.

Which points are the most important to master? I realise this differs from VCS to VCS, but for the sake of this question we can assume that Subversion is the VCS I'm the most interested in learning about.

Also, if you could, please recommend any books on the subject that you find useful.

13条回答
狗以群分
2楼-- · 2020-02-08 08:50

IMHO, the best network resource for Configuration Management would be The ACME Project by Brad Appleton

You should read about all SCM patterns and Anti patterns. All SCM technical terms are well defined on this site and there are many articles on branching techniques, agile SCM and other important stuff.

This, probably, will give you enough theoretical background to handle any specific version tool.

As to a Subversion book, it is probably will be the Official Subversion book which was mentioned above. It is available online for free or you can purchase a hard copy.

查看更多
Deceive 欺骗
3楼-- · 2020-02-08 08:53

I also, like you, never really felt a 100% comfortable with SVN or SourceSafe.

Check out Mercurial. Quickstart and Cheatsheets
also a great cheat sheet from DongWoo Lee (his site seems down so I scanned it and uploaded onto mine)

With Mercurial everything seemed a lot more smooth and easy not sure why because it's not that different in commands to others.

查看更多
Root(大扎)
4楼-- · 2020-02-08 08:56

I think the Subversion documentation is a good place to start. I found that Wikipedia doesn't really help, since it only covers a 'fundamental' point of view.

In the Subversion Book that alex mentioned, I'd especially recommend Chapter 1, although that might be on a level that's too low if you already have some experience with Svn. Chapter 4 covers branching and merging in detail, but it's quite technical.

What helped me a lot is the Daily Use Guide in the TortoiseSVN documentation; it covers the most important operations in a tutorial style.

I guess the most important things you need to grasp are branching, merging and tagging. Understanding those takes time and practice, so I'd strongly recommend a small pet project in a local repository, so you can experiment. I think it's important to realize is that the whole system is diff-based: a merge is nothing more than automatically applying the changes that have been made in one branch to the code in another branch, instead of correcting the code yourself. Stuff like conflicts (which took me quite a lot of time to understand) are just consequences of that.

But of course, I'm still learning as well :)

查看更多
爱情/是我丢掉的垃圾
5楼-- · 2020-02-08 08:57

Check out GIT. A talk on it here.

查看更多
Root(大扎)
6楼-- · 2020-02-08 09:00

IMHO, this is THE book: Berczuk's book on SCM patterns

查看更多
时光不老,我们不散
7楼-- · 2020-02-08 09:02

The wikipedia article on Revision Control is a great place to start

Revision control

When trying to teach my colleagues, I found getting him to understand the vocabulary at the end was a great way to start to introduce him to source code control techniques.

Don't know what a branch is? Go find out and how they work :)

There's a free online subversion book at Version Control with Subversion which provides an invaluable reference.

查看更多
登录 后发表回答