Delete a branch

前端 未结 3 1925
长发绾君心
长发绾君心 2021-02-01 00:27

How do I delete a branch in TortoiseSVN?

  1. Can I simply delete the working copy of the branch and the folder in the repository?
  2. Should the local working cop
3条回答
  •  清酒与你
    2021-02-01 01:27

    The SVN book ("Version Control with Subversion") explains how to delete and restore branches.

    Although it suggests remote deletion like

    $ svn delete http://svn.example.com/repos/calc/branches/my-calc-branch \
      -m "Removing obsolete branch of calc project."
    

    you could also do it locally (with the TortoiseSVN > Delete command).

    As mentioned in the book, you can always restore branches, so you won't get any unexpected consequences.

提交回复
热议问题