$ git checkout experiment
$ git rebase master
First, rewinding head to replay your work on top of it...
Applying: ...
Opcja --onto pozwala na przesunięcie bazy na inną gałąź lub rewizję
$ git checkout client
$git rebase server --onto master
First, rewinding head to replay your work on top of it...
Applying: ...
git checkout feature/user-login
git checkout -b feature/user-login-fe
git commit -m "c"
git checkout feature/user-login
git commit -m "b1"
git checkout feature/user-login
git rebase master
git checkout feature/user-login-fe
git commit -m "c1"
git checkout feature/user-login-fe
git rebase feature/user-login
git checkout feature/user-login
git rebase -i master
pick b
fixup b1
git checkout feature/user-login-fe
git rebase -i feature/user-login
pick c
fixup c1