Skip to content

Instantly share code, notes, and snippets.

@smockle
Last active March 15, 2017 11:57
Show Gist options
  • Save smockle/af53148e4adfd2730256 to your computer and use it in GitHub Desktop.
Save smockle/af53148e4adfd2730256 to your computer and use it in GitHub Desktop.
Merging a feature branch into master
hub push
hub checkout master
hub pull
hub checkout <feature_branch>
hub pull-request -m "description"
hub checkout master
hub merge <pr_url>
hub push
hub push origin :<feature_branch>
hub branch -d <feature_branch>
hub branch -rd <org>/<feature_branch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment