Skip to content

Instantly share code, notes, and snippets.

@intfrr
Forked from GuiSevero/svn stash.txt
Created July 28, 2020 05:29
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 intfrr/d08252b6397df3a2b212cd50edf4b695 to your computer and use it in GitHub Desktop.
Save intfrr/d08252b6397df3a2b212cd50edf4b695 to your computer and use it in GitHub Desktop.
SVN "git stash" alternative
set PATH=%PATH%;C:\Program Files\TortoiseSVN\bin
git stash: svn diff > patch_name.patch; svn revert -R .
git stash apply: patch patch_name.patch
based on stackoverflow answer: http://stackoverflow.com/questions/1554278/temporarily-put-away-uncommited-changes-in-subversion-a-la-git-stash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment