Rebase commits done on the wrong branch
$ git rebase --onto master server client
Sources: git-scm.comTake the
clientbranch, figure out the patches since it diverged from theserverbranch, and replay these patches in the client branch as if it was based directly off themasterbranch instead.