Should I delete a branch after merging it?

后端 未结 4 1916
失恋的感觉
失恋的感觉 2020-12-24 11:13

After merging a branch, do you delete it from the repository?
However, it\'s a good practice or not?

I usually create a lot of branches, since I don\'t want to

4条回答
  •  旧巷少年郎
    2020-12-24 11:58

    Just take care of
    All hyperlinks URLs references of your DELETED branches, will be BROKEN.

    For example
    If you delete branch_feature_x branch from your repo
    The corresponding hyperlink URL of this branch will be broken
    https://github.com/username/project/tree/branch_feature_x

提交回复
热议问题