Need to restore a deleted branch in Subversion

前端 未结 7 641
悲&欢浪女
悲&欢浪女 2020-12-07 16:14

I have two working copies of a Subversion repository, one of the trunk, and one of a branch I created.

I accidentally deleted the branch in a repository browser. How

7条回答
  •  爱一瞬间的悲伤
    2020-12-07 16:55

    Alternatively, if it was a single commit that deleted the branch:

    Revert the commit and then commit

    svn merge -c -REV .
    svn commit -m "Reverting deletion of branch XYZ"
    

提交回复
热议问题