Created
January 6, 2026 00:45
-
-
Save asears/5bf43d8a62dc7b193ece146fb942c475 to your computer and use it in GitHub Desktop.
Git Rebase
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Few helpful rebase commands | |
| git config --global core.editor=code | |
| git config --global sequence.editor=code --wait --reuse-window | |
| # Find the divergent commit | |
| git merge-base --fork-point main | |
| # Interactive rebase | |
| git rebase -i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment