From 48b75dc3e8da53b408317e9f9849084db7a6cc8b Mon Sep 17 00:00:00 2001 From: yurydelendik Date: Thu, 4 Oct 2012 08:45:13 -0700 Subject: [PATCH] Updated Squashing Commits (markdown) --- Squashing-Commits.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.