Skip to content

Instantly share code, notes, and snippets.

@bastelflp
Last active March 12, 2016 16:08
Show Gist options
  • Save bastelflp/450e8aed78a904371850 to your computer and use it in GitHub Desktop.
Save bastelflp/450e8aed78a904371850 to your computer and use it in GitHub Desktop.
What to do after pull request?

What to do after a successfull pull request?

Delete feature branch in fork remote and locally and update forked master branch.

  • Delete feature branch on GitHub via button in pull request
  • Delete feature branch locally via git branch -d <feature_branch> and remote tracked feature branch via git branch -dr origin/<feature_branch>
  • Update forked master branch via git fetch upstream and git rebase upstream/master and finally git push origin master

Read more:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment