diff --git a/Squashing-Commits.md b/Squashing-Commits.md index b665d0d..0e1addf 100644 --- a/Squashing-Commits.md +++ b/Squashing-Commits.md @@ -31,8 +31,8 @@ git checkout -B super-feature git commit -e ``` -1. Or, you just use rebase (let's say you have 5 commits to merge) +1. Or, you can use rebase. Let's say you have 5 commits to merge: ``` git rebase -i HEAD~5 ``` -Change pick to squash for last four and update the commit message. \ No newline at end of file +Change `pick` to `squash` for last four and update the commit message.