Thanks for the post, very good practical examples to try rebasing.
I'm just curious how did you achieve this lonely commit? 😀
Example 3: rewording a commit
I think interactive rebase in this example is overkill.
git commit -- amend -m "new message" will do the work.
But changing a message for commit head~2 is impossible with amend, so interactive rebase with reword will solve such tasks perfectly.
Thanks for the post, very good practical examples to try rebasing.
I'm just curious how did you achieve this lonely commit? 😀
I think interactive rebase in this example is overkill.
git commit -- amend -m "new message"
will do the work.But changing a message for commit head~2 is impossible with
amend
, so interactive rebase withreword
will solve such tasks perfectly.With pleasure, super glad it helped.
This last commit is just an automatic commit made to deploy to Github Pages
A whole different thing, so don't worry about it !
Thanks for mentioning
amend
😄