Skip to content

Instantly share code, notes, and snippets.

@LNA
Created April 10, 2015 20:09
Show Gist options
  • Save LNA/0be501533c0ecccfca1e to your computer and use it in GitHub Desktop.
Save LNA/0be501533c0ecccfca1e to your computer and use it in GitHub Desktop.
pull branches from master into a branch that you are working on
git fetch origin
git checkout master
git merge --ff-only origin/master
git checkout the-branch-im-working-on
git merge --no-ff origin/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment