Sunday, December 18, 2016

[howto][svn] Quickly revert a commit

There are more flexible ways, but here is a quick way to simply revert one commit.

svn merge -c -[R]

R = Revision.

So reverting commit 5400 would be:

svn merge -c -5400
Don't forget that dash before the revision.

Taken from:

 http://stackoverflow.com/questions/13330011/how-do-i-revert-an-svn-commit

No comments: