Created
June 15, 2015 13:47
-
-
Save hellosmithy/4d087856c67d90fa347b to your computer and use it in GitHub Desktop.
git rebase
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 HEAD~4 | |
pick 01d1124 Adding license | |
pick 6340aaa Moving license into its own file | |
pick ebfd367 Jekyll has become self-aware. | |
pick 30e0ccb Changed the tagline in the binary, too. | |
# Rebase 60709da..30e0ccb onto 60709da | |
# | |
# Commands: | |
# p, pick = use commit | |
# e, edit = use commit, but stop for amending | |
# s, squash = use commit, but meld into previous commit | |
# | |
# If you remove a line here THAT COMMIT WILL BE LOST. | |
# However, if you remove everything, the rebase will be aborted. | |
# See http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment