Subversion Usage (subversion book)
|
Update all files in the current directory Type "svn update"
See what has changed locally or on the server Type "svn status -u"
Edit a file No special requirements, edit away
Type "svn status" (check if there are any changes you care
about)
Revert back to server copy (removes changes you have made locally) Type "svn revert [file]"
Type "svn status" (not required, but shows you what will happen)
Type "svn log [file]"
Type "svn add file"
Note: To get files off your system just delete them manually. The "svn delete" command removes files from the server Type "svn delete file"
Type "svn diff file"
Type "svn diff -r N:M file" (N is the old revision M is the new revision, browsing the source online is easier)
Type "svn update -r N file" (N is the old revision. Will update to the latest revision upon the next "svn update")
Type "svn cat -r N file" (N is the old revision)
Type "svn update -r N file" (N is the
old revision)
|
|
|
|
|
|
|