Skip to content

Instantly share code, notes, and snippets.

@jachin
Created September 2, 2011 20:27
Show Gist options
  • Save jachin/1189812 to your computer and use it in GitHub Desktop.
Save jachin/1189812 to your computer and use it in GitHub Desktop.
Revert svn (subversion) merge info only changes after a merge (and before a commit).
FILES=`svn status | grep "^ M " | sed s/" M "// | tr '\n', ' '`
svn revert $FILES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment