T
T
Tsigulev Vitaly2013-03-17 19:49:50
git
Tsigulev Vitaly, 2013-03-17 19:49:50

What version control system do you recommend?

There is a server on CentOS, it has a site in php, there is a test version of the site, you need to organize the work of the team so that you can synchronize first to the test version, then roll out the update to the main site. Choose between SVN, Git and Mercurial. What are the pros and cons of these systems?

Answer the question

In order to leave comments, you need to log in

8 answer(s)
A
Alexander Yudaev, 2013-03-17
@oYASo

There are a lot of articles about VCS on Habré, with comparisons and holy wars in the comments.
I would immediately cross out SVN from this list - a centralized system with all its inherent problems (server crashed - lost code; each developer does not have a copy of sorts, etc.), illogical branching (consider its absence) and so on.
It makes sense to choose from Git and Mercurial. There are more people on the git, there are a lot of manuals, howtos, tutorials and other things. If you are interested in your corporate server, there is an excellent Gitlab frontend, and if you develop open source or have money, you can host on the popular Github.
Mercurial has a wonderful Bitbucket (although they also support git).
The convenience of working with the console, just like working with the GUI for these systems, I would put on the same level.
Ideologically, systems store history in different ways. Huge repositories on the git (from 1GB, although this is hardly relevant for you) work poorly due to the storage of full snapshots of files, small changes are stored on mercurial, so the repositories are not so bold. In general, for the vast majority of projects, this difference can be scored.
I use Git and have no problems with it. Very good, thoughtful and fast VCS.

M
MuXaJIbI4, 2013-03-17
@MuXaJIbI4

Mercurial

C
charon, 2013-03-17
@charon

All three fit the description of the problem. I would recommend Git as the most modern and widely used.

R
rvller, 2013-03-17
@rvller

I will vote for Hg - the entry threshold is actually lower. Actually, even the terminology is less, and there are all the possibilities that an ordinary developer needs.

E
edelweard, 2013-03-17
@edelweard

The main thing is DVCS, i.e. Git or Mercurial. A centralized system is always worse than a distributed one.
Next is a matter of taste. I prefer Git, but that's because I know it well ;) Mercurial is said to have a lower entry threshold, but there is a great book for Git: Pro Git , which allows you to quickly get up to speed ...

O
OnYourLips, 2013-03-18
@OnYourLips

It is impossible to say which is better, because. not enough information.
If there are layout designers in the team, then SVN is the easiest to work with.

G
giner, 2013-03-17
@giner

Is the team big?

B
B7W, 2013-03-18
@B7W

If your developers are not linux freaks, try hg. As already mentioned, it is easier, especially under windows. It has a nice graphic wrapper.
Don't be afraid to make a mistake if you realize that it's not for you - there are ways to move to git.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question