Need to restore a deleted branch in Subversion

前端 未结 7 640
悲&欢浪女
悲&欢浪女 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 17:10

    This worked for me,

    svn cp --username your_user_name https://path_to_your_repo/branches/deleted_branch_name@last_revision_before_deletion https://path_to_your_repo/branches/new_name_for_branch

提交回复
热议问题