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
No results for your search, please try with something else.
Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.