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.
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.
本文介绍了如何在Subversion (SVN) 中撤销错误的更新并回滚到之前的版本。通过使用svn log命令查看更新日志,找到目标修订版本号,并利用svn up -r命令指定版本进行回滚。此外,文章强调了提交更改时正确记录注释的重要性。
1万+

被折叠的 条评论
为什么被折叠?



