Skip to content

Instantly share code, notes, and snippets.

@noherczeg
Last active March 11, 2016 01:00
Show Gist options
  • Select an option

  • Save noherczeg/a94923392b322d6c50fe to your computer and use it in GitHub Desktop.

Select an option

Save noherczeg/a94923392b322d6c50fe to your computer and use it in GitHub Desktop.
Rebasing in Git
git checkout feature_branch
git rebase master
git checkout master
git merge --squash feature_branch
# -------------------
git checkout feature/foo
git pull --all
git rebase develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment