删除分支
赶紧跑:
svn delete https://svn.example.com/svn/MyRepo/MyProject/branches/MyNewBranch -m "Deleting no longer needed MyNewBranch"
或者,使用短网址:
svn delete ^/branches/MyNewBranch -m "Deleting no longer needed MyNewBranch"
- 在 Windows 中,你需要使用^^
- 你可以随时通过再次创建指定所需修订版本来恢复已删除的分支,然后当分支处于活动状态时(已删除的分支只是 HEAD 修订版中不可用的分支)。例如,如果在修订版 101 中删除了分支:
svn copy https://svn.example.com/svn/MyRepo/branches/MyNewBranch@r100 https://svn.example.com/svn/MyRepo/MyProject/branches/resurrected-branch -m "Resurrected MyNewBranch from revision 100"
。请参阅恢复已删除的项目