Subversion cheat sheet

This is a cheat sheet of Subversion commands. For more information, you should refer to EAIT's Subversion guide.


Checkout a working copy

For undergradates (enrolled in COMP3301):

svn checkout https://svn.itee.uq.edu.au/repo/comp3301-s4123456 comp3301

For postgraduates (enrolled in COMP7308):

svn checkout https://svn.itee.uq.edu.au/repo/comp7308-s4123456 comp7308

(where s4123456 is your student number)

You will be prompted to enter your username and password. Ensure your username is in the form of s4123456@student.uq.edu.au or authentication will fail.


The following commands should all be run from within your working copy.

Update to the latest revision

svn update


Add a untracked file (once per file only)

svn add file1 [file2 ...]

Don't forget to commit the changes.


Remove a tracked file

svn del file1 [file2 ...]

Don't forget to commit the changes.


Create a tracked directory

You will need to use this command to create the subdirectories for each assignment.

svn mkdir dir

Don't forget to commit the changes.


Commit changes made to tracked files

To commit any changes to all tracked files:

svn commit -m "this is a message, you should write something meaningful here"

To commit changes to specific tracked files:

svn commit -m "this is a message, you should write something meaningful here" file1 [file2 ...]