Skip to content

Instantly share code, notes, and snippets.

@jasperf
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasperf/28c1fec3965d4236116b to your computer and use it in GitHub Desktop.
Save jasperf/28c1fec3965d4236116b to your computer and use it in GitHub Desktop.
SVN add files, commit files and then upload/push them to the remote repository from you local copy. Then check the status of commits and print changes.
//add directory recursively
svn add directory
// commit all and upload to the remote repository
svn ci -m "message"
//log of commits on working copy
//http://stackoverflow.com/questions/1464813/see-last-changes-in-svn
svn log --stop-on-copy
//for local status
svn status -u -v
//check last changes by printing them
svn diff -rPREV
//list all directories and files on repository
svn list -R http://example.com/path/to/repos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment