Git: Rebasing a Branch onto Master
- Checkout your feature branch you want 'merged' into master.
$ git checkout feature
- Rebase master onto the feature branch.
$ git rebase master
- Then rebase your feature onto the master branch.
$ git checkout master
$ git rebase feature
- Check you have the lastest changes from origin, then push
$ git pull
$ git push