I by mistake commit a file to one of the branch. I want to undo the commit, is it possible to do so. Please suggest me a solution.
-- Thanks
I by mistake commit a file to one of the branch. I want to undo the commit, is it possible to do so. Please suggest me a solution.
-- Thanks
svn merge -c -REV
, where REV
is the revision number of the commit you want to undo.
This should be performed on a clean local copy. The result will need to be checked in (of course, provided you're happy with it).
For a detailed explanation, see the svn book.