How to Undo Subversion commit

不羁岁月 提交于 2020-01-15 06:26:07

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/8951742/how-to-undo-subversion-commit

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!