diff --git a/Squashing-Commits.md b/Squashing-Commits.md index 17f7d7d..926dd86 100644 --- a/Squashing-Commits.md +++ b/Squashing-Commits.md @@ -38,4 +38,5 @@ git push --force origin super-feature 1. Or, you can use rebase. Let's say you have 5 commits to squash and you don't have merge commits: ``` git rebase -i HEAD~5 -``` \ No newline at end of file +``` +Change `pick` to `squash` for last four and update the commit message in the editor.