Created
April 17, 2017 14:11
-
-
Save samthomson/f0e521bb2bc5bdeb720230a0cfcfa269 to your computer and use it in GitHub Desktop.
rebase a feature branch to it's initial state
This file contains 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
# git rebase i expects a commit hash as an argument, but will rebase from after that commit. This will effectively rebase from before the commit. | |
git rebase -i `git merge-base feature master` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment