Skip to content

Instantly share code, notes, and snippets.

@floehopper
Created April 5, 2012 14:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save floehopper/2311719 to your computer and use it in GitHub Desktop.
Save floehopper/2311719 to your computer and use it in GitHub Desktop.
Programmatically merge a pull request
git fetch && git checkout https://github.com/freerange/sauron/pull/19 && git pull --rebase . master
git checkout master && git pull
git merge --no-ff --log -m "Merge pull request https://github.com/freerange/sauron/pull/19" -
rake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment