diff --git a/content/cheat-sheet/_index.html b/content/cheat-sheet/_index.html index cea6851f91..c68fd9902b 100644 --- a/content/cheat-sheet/_index.html +++ b/content/cheat-sheet/_index.html @@ -244,7 +244,7 @@

"Undo" the most recent commit (keep your working directory the same):

Squash the last 5 commits into one:

- git rebase -i HEAD~6 + git rebase -i HEAD~5

Then change "pick" to "fixup" for any commit you want to combine with the previous one