Updated Squashing Commits (markdown)

Yury Delendik 2014-03-04 11:15:35 -08:00
parent 3814bdbec9
commit a089579cff

@ -35,7 +35,7 @@ git commit -e
git push --force origin super-feature 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: 1. <a name="simple"></a>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 git rebase -i HEAD~5
``` ```