Skip to content

Rebase branch with master

Nícolas Lazarte edited this page Apr 25, 2014 · 3 revisions

supposing you are in your feature branch

$ git checkout master
$ git pull --rebase
$ git checkout <feature_branch>
$ git rebase master

# if you have conflicts:
# fix them!
# git add <file_path>
# git rebase --continue

$ git push --force origin <feature_branch>