1
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-06-02 09:35:03 +01:00
notes/docs/notes/rebase-onto.md

442 B

title tags
Rebase commits done on the wrong branch
Git
git rebase --onto master server client

Take the client branch, figure out the patches since it diverged from the server branch, and replay these patches in the client branch as if it was based directly off the master branch instead.

See also "more interesting rebases"