Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jamieandyou/33c95c0ac88048518602 to your computer and use it in GitHub Desktop.
Save jamieandyou/33c95c0ac88048518602 to your computer and use it in GitHub Desktop.
Merging pull requests using the command line
credit to https://github.com/mdkrog
git checkout development
git pull origin development
git checkout your-local-branch
git rebase -i development
git push -f origin your-local-branch
git checkout development
git merge your-local-branch --ff-only
git push origin development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment