简体   繁体   中英

How to Undo Subversion commit

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM