您的位置:首页 > 其它

SVN: Revert to a previous revision after a wrong update

2013-01-29 13:37 274 查看
Let’s say for example you accidentally ran “svn update” and your working copy got the updates that it shouldn’t have — unfinished patches, etc.

What you should do is check the logs using:

svn log | more

Look for the revision number then:

svn up -r 1234

*where 1234 is the previous revision number you want to go back to.

Another reason why you should properly put comments when commiting to your repository.

No related posts.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐