git rebase

0. Rebase Introduction

1
2
3
4
5
6
7
8
git checkout -b bugFix
# edit and add
git commit
git checkout master
# edit and add
git commit
git checkout bugFix
git rebase master

1. Rebasing over 9000 times

1
2
3
4
git rebase master bugFix
git rebase bugFix side
git rebase side another
git rebase another master

2. Interactive Rebase

1
git rebase -i overHere --solution-ordering C3,C5,C4

https://learngitbranching.js.org/