Getting Started: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
No edit summary
Swyter (talk | contribs)
Some love for mercurial, use HTTPS links and add a reference to Bitbucket, which is a solid alternative.
Line 61: Line 61:
During your code building you will write hundreds, even thousands, of lines of code. You'll spend an unmentionable number of hours, and sit up late at night coding when you really should go to bed. The last thing you need is a disk crash or a poorly written 'rm' or 'format' command throwing all your work away.
During your code building you will write hundreds, even thousands, of lines of code. You'll spend an unmentionable number of hours, and sit up late at night coding when you really should go to bed. The last thing you need is a disk crash or a poorly written 'rm' or 'format' command throwing all your work away.


What you need is a [http://en.wikipedia.org/wiki/Revision_control version control system]. [http://www.nongnu.org/cvs/ CVS] has been used for a number of years, but has gotten a lot of competition from [http://subversion.tigris.org/ Subversion], [http://bazaar-vcs.org/ Bazaar] and [http://git-scm.com/ Git] lately. If you can, you should set up a remote computer or server as a version control server, but if you do not have such a machine available you can also host the version control system on your local development computer. Just remember to backup your code to CD or FTP once in a while.
What you need is a [http://en.wikipedia.org/wiki/Revision_control version control system]. [http://www.nongnu.org/cvs/ CVS] has been used for a number of years, but has gotten a lot of competition from [http://subversion.tigris.org/ Subversion], [http://bazaar-vcs.org/ Bazaar], [http://mercurial.selenic.com/ Mercurial] and [http://git-scm.com/ Git] lately. If you can, you should set up a remote computer or server as a version control server, but if you do not have such a machine available you can also host the version control system on your local development computer. Just remember to backup your code to CD or FTP once in a while.


A convenient way of getting access to a Subversion server is to create a project over at [http://www.sourceforge.net SourceForge]. You can also set up your project at [http://code.google.com/hosting/ Google Code] or at [http://gf.cs.hit.edu.cn HIT Open Source Platform] ''(Chinese)''. For Git you can create your project on [http://github.com/ GitHub]. Keep in mind this does require your project to be open source.
A convenient way of getting access to a Subversion server is to create a project over at [http://www.sourceforge.net SourceForge]. You can also set up your project at [http://code.google.com/hosting/ Google Code] or at [http://gf.cs.hit.edu.cn HIT Open Source Platform] ''(Chinese)''. For Git you can create your project on [https://github.com/ GitHub]. Keep in mind this does require your project to be open source. [https://bitbucket.org Bitbucket] is also a good alternative as it supports both Git and Mercurial, and counts with free, private repositories.


==Common starting points==
==Common starting points==