How to delete a branch in hg?

后端 未结 1 602
北荒
北荒 2021-01-21 20:27

I am recently learning git, and found people can delete short branches, but in Hg, after merging the branch to default, how could I delete it?

相关标签:
1条回答
  • 2021-01-21 20:48

    You cannot. You can close the branch to hide it from the list of active branches, but you cannot completely delete it.

    This happens because in mercurial and in git the "branch" term means different things.

    In mercurial - it is a set of changesets.

    And in git - it is a pointer to a particular changeset.

    0 讨论(0)
提交回复
热议问题