Answer the question
In order to leave comments, you need to log in
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
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.
All three fit the description of the problem. I would recommend Git as the most modern and widely used.
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.
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 ...
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question