Last active
December 27, 2015 11:49
-
-
Save ashumeow/7321316 to your computer and use it in GitHub Desktop.
Aiming to use interactive option for rebase (.git)
I am not getting success after the final statement $ git rebase -i HEAD~3
#Help
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
//start | |
$ git status | |
$ git commit -m "aaa" | |
$ git commit -m "bbb" | |
$ git commit -m "ccc" | |
$ git commit -m "ddd" | |
#Commit process done | |
$ git branch | |
#one branch master was available | |
$ git log --oneline | |
#Master branch log | |
$ git checkout -b unicorns | |
# So, i created a new unicorns branch | |
$ git rebase master | |
$ git checkout -b unicorns | |
$ git rebase master | |
$ git checkout -b unicorns | |
$ git rebase master | |
$ git checkout -b unicorns | |
$ git rebase master | |
$ git checkout -b unicorns | |
$ git rebase master | |
$ git checkout -b unicorns | |
$ git rebase master | |
$ git rebase -i HEAD~3 //Final line | |
# Not getting success | |
# Error message: You incorrectly specified which commits to edit. You wanted to specify the last four commits starting with HEAD. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment