Win Unix Mac

Articles,How Tos,Tips n more

  • Increase font size
  • Default font size
  • Decrease font size

Subversion Basics How To

E-mail Print PDF

Subversion is one of the worlds most popular source code control systems in use.  If you are interested in learning this industry standard tool check out this introduction to Subversion client and server has setup, first usage , practicle examples and further reading links.

 

Subversion or SVN for short is a tool designed to allow people to be able to work together and contribute to a project, enabling people to submit new and updated files and directories, producing reports on differences between versions and tracking changes. It is most often used for source code, used in most programming langauges but can store almost any file.

The concept of differences between files is important, lets give an example command line session:

echo "Hello" > hello.txt
echo "World" > world.txt

diff hello.txt world.txt
[root@demo tmp]# diff hello.txt world.txt
1c1
< Hello
---
> World

So to example, we quickly made two files called hello.txt and world.txt containing the words Hello and World. We then executed the diff command on the two files, this produces an output describing the differences.

Last Updated on Monday, 10 August 2009 17:23  

Add your comment

Your name:
Subject:
Comment: