Skip to content

Instantly share code, notes, and snippets.

@anscii
Created September 24, 2012 07:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anscii/3774770 to your computer and use it in GitHub Desktop.
Save anscii/3774770 to your computer and use it in GitHub Desktop.
Svn stash
http://blog.jayfields.com/2008/02/using-patch-as-subversion-stash.html
to make a stash:
1) add all new files
2) create a patch:
svn diff > patch_name.patch
3) revert all changes
svn revert -R .
to unstash apply a patch:
patch -p0 < patch_name.patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment