Skip to content

Instantly share code, notes, and snippets.

@markbirbeck
Created May 23, 2011 15:51
Show Gist options
  • Save markbirbeck/986925 to your computer and use it in GitHub Desktop.
Save markbirbeck/986925 to your computer and use it in GitHub Desktop.
Merge changes after a pull request
#
# Get Jeremy's changes into a local branch:
#
git checkout -b jeremyfrench-master master
git pull git@github.com:jeremyfrench/chef-repo.git master
#
# Merge the changes onto the master branch, but roll-up, and leave in working directory:
#
git checkout master
git merge --squash jeremyfrench-master
#
# Commit the changes with appropriate attribution:
#
git commit --author "jeremyfrench <jeremy@jeremyfrench.co.uk>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment