How to rollback to the previous version in svn
In the Subversion, if you want to rollback your current workspace to the previous version, first you can type:
Now, the file status is M, you can commit your modification.
svn cat -r PREV filename > filename
Second, you can :
eg:
svn up -r VERSION_NUMBER
svn up -r 50
Then you can change your workspace to version 50. Note: you cannot commit your modification in this situation.
How to rollback to the previous version in svn
最新推荐文章于 2025-12-19 23:19:38 发布
本文介绍了如何使用Subversion (SVN) 将工作区回滚到之前的版本。具体步骤包括使用 svncat 命令恢复文件到指定版本,并通过 svn up 命令更新工作区到特定版本号。
18万+

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



