Showing posts with label Version Control System. Show all posts
Showing posts with label Version Control System. Show all posts

Wednesday, 25 January 2012

Version Control System (VCS)


This guide is purposefully high-level: most tutorials throw a bunch of text commands at you. Let’s cover the high-level concepts without getting stuck in the syntax (the Subversion manual is always there, don’t worry). Sometimes it’s nice to see what’s possible.
Checkins
The simplest scenario is checking in a file (list.txt) and modifying it over time.
clip_image002
Each time we check in a new version, we get a new revision (r1, r2, r3, etc.). In Subversion you’d do:
  • svn add list.txt (odify the file)
  • svn ci list.txt -m "Changed the list"
  • The -m flag is the message to use for this checkin.