刪除分支

趕緊跑:

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"。請參閱恢復已刪除的專案