What do you do with your branch after a pull request on GitHub?

后端 未结 3 834
孤城傲影
孤城傲影 2020-12-09 01:10

My team is experimenting with using GitHub pull requests for code reviews. My only question is what do you do with the branch after you\'re done? I would think you\'d want t

3条回答
  •  星月不相逢
    2020-12-09 02:06

    I always delete branches that have been merged into master. A Git branch, after all, is a pointer to a commit, and that commit is now available in the history of another branch, so I don't need the branch anymore. (You can always recreate the branch by looking at the parents of the merge commit.)

提交回复
热议问题