Last active
January 11, 2018 11:55
-
-
Save Jonty/fcff00bae38d74caf2c28fe72c9269de to your computer and use it in GitHub Desktop.
A git alias to rebase all commits added on the current branch
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
[alias] | |
rebase-branch = !git rebase -i --autosquash $(git merge-base --fork-point origin/master HEAD) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment