Move your branch on top of newest master
ID: git-tips/move-your-branch-on-top-of-newest-master
Move your branch on top of newest master by
Ciro Santilli 35 Updated 2025-03-25 +Created 1970-01-01
Before:
5 master
|
4 7 my-feature HEAD
| |
3 6
|/
2
|
1
Action:
git rebase
After:Ready to push with linear history!
7 my-feature HEAD
|
6
|
5 master
|
4
|
3
|
2
|
1
New to topics? Read the docs here!