Answer the question
In order to leave comments, you need to log in
A quick start in the world of version control systems?
Hello everyone.
The situation is as follows:
Never in 4 years of my programming career did I use version control systems (hereinafter referred to as DCS (dry carbon dioxide bath) :-)) (yes, it happens). I work in a team, but there is no possibility/required arguments to incline my colleagues in the direction of the SUV, perhaps it will be possible by my own example. Therefore, I want to start using it purely for myself for now, but the complexity is a little scary, and there is no time to understand various difficulties, I want to use the benefits of SUV with a minimum of effort, out of the box . At least for starters, what would you recommend? I downloaded git, installed it, launched it, saw a black console and… closed it :-)
Development is carried out in Delphi/C++ under Windows. If it is important, I run Windows on a virtual machine from under ubuntu. Filling versions, etc. via the Internet - not welcome. traffic is limited and the internet at the workplace is very slow. It is necessary that the information be stored in my personal folder on a server located on the local network. The system itself (both client and server) must run exclusively on my computer.
Of the possibilities, I want a minimum: saving projects, the possibility of rollback, coordinating several “options” of one program, in case there was a glitch or a new feature in the “core”, and most importantly, simplicity and transparency.
Maybe my dream is utopian? :-)
Answer the question
In order to leave comments, you need to log in
I recommend mercurial because I love this system. There is a great series of articles for beginners. There is no need to be afraid of the console, everything is really very simple there, you just need to learn just a few commands. But there is also a cross-platform GUI - TortoiseHG, in which you can do almost everything.
I would start with SVN - after reading the article, an hour later I committed to the repository on localhost.
www.codinghorror.com/blog/2008/04/setting-up-subversion-on-windows.html
Offtopic: Why has SVN gone uh... unfashionable? Was CVS, then SVN, now Git? Is it because of Github and Bitbucket? I missed a lot...
If the problem is in the console, and you want good integration into the IDE, and Eclipse is used as the IDE (for C ++, for example), I want to suggest Mercurial (HG). Under Eclipse, there is a functional plugin that allows you to work comfortably (for me, this once became a decisive factor, since the plugin for Git was too crooked). Both Git and HG are the most popular distributed systems for all your requirements. I would not advise starting from unallocated ones, for sure, you will have to switch later.
Well, here you can right there on Habré and read the translation of a good article - habrahabr.ru/post/108443/ (or rather the original).
The transition from SVN is described, which can also be useful (the reason why I would advise a distributed system right away).
For a quick start you need:
1) Read a good article .
2) Create an account on bitbucket.org (there is no better among the free ones).
3) Use TortoiseGit (you may also need to work with the git command line, but minimally).
After completing steps (1) and (2), you can, say, upload your personal project to bitbucket.org, commit, create branches, populate, push, reset.
Why is no one advising githowto ? And about installing a server on ubuntu, you can google articles in abundance.
I recommend RhodeCode
, a demo is available here .
Deployment in a jiffy, easy to set up and update, there is a web interface for managing repositories ( + statistics, etc. ), Mercurial is used as a version control system + Git support is planned.
I have been on the project server for half a year - only good impressions.
I read the book on subversion in PDF directly from their site (http://subversion.apache.org/docs/). To understand what and how, without getting into the internal subtleties of the work of Subversion itself, it is enough to read pages 60-70. The work cycle and the main commands are quite accessible.
Try a system that is not so popular, but very interesting and promising, as it seems to me. Fossil . This is DVCS. In fact, on Windows, it is a single executable file. Does not litter in the system. Built on top of sqlite3. The repository is a single file - the sqlite base. With ease it is possible to store though on flash. Includes web interface, server, wiki, bug tracking. It is possible to automatically synchronize with remote repositories. Access to them via HTTP. Proxy support. Work in own server mode, CGI, INETD. Sqlite itself is being developed on it.
I think Git is the best for you.
> Never in 4 years of my programming career did I use version control systems. I work in a team, but there is no possibility / necessary arguments to persuade colleagues towards
VCS I may exaggerate, but if you do not have any supernatural circumstances that prevent the use of VCS, then your colleagues are unsuitable. They're in their 60s, right? It is now 2012, and the non-use of these systems and the obstacles to them can no longer be explained by anything else.
Of the systems, I recommend starting with SVN, it is still simpler, but in general I recommend mastering some system and immediately changing jobs. Or even earlier.
There are many vacancies, few candidates.
If you decide to look in the direction of mercurial, then here is a collection of links to interesting articles on Mercurial.
Git is the most fashionable trend, so it's better to learn it right away. And what, by the way, is a Delphi developer - are there plugins for some version control systems? I find it very convenient to use an IDE that has a version control system built right into it.
> Development is carried out on Delphi/C++ under Windows. If it is important, I run Windows on a virtual machine from under ubuntu.
I don't understand why you have to torture yourself like this? Why can't you work in the same OS in which and for which you develop? However, this is a matter of taste.
Git: the version control system for everyone. Less theory, more practice.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question