I have been working with CVS at school, but they have their own server. So if I want to achieve the same affect of having the code stored on my local machine and also synchronized with a central repository and any other machine that's hooked up to this repository, how can I do it ?
I want to work on my laptop when away from home, and on desktop when at home and want to maintain the same code.
EDIT: Additional question, does the computer I install the server part of this software on, always have to be ON ?
John Laker wrote:Additional question, does the computer I install the server part of this software on, always have to be ON ?
Yes, it has to be on and reachable via the network to any computers that you want to check in / check out items from the version control system from.
There are a number of websites that provide a version system on the web for you. A good one is Github. Note that by default (with a free account) everyone can see your code that is in there. You can make private repositories at Github (so that only people that you assign have access to your code), but that costs money.
With Git and Mercurial there is no server. Both your desktop and laptop would contain the full repository. You can, for example, work on your laptop committing changes, and at a later time turn on your desktop and sync the commits to the repository to the desktop.