1
0
mirror of https://github.com/k88hudson/git-flight-rules.git synced 2025-03-10 20:58:39 -03:00

Merge pull request #15 from Chris911/master

Fix typo
This commit is contained in:
Kate Hudson 2014-07-31 06:28:55 -07:00
commit 9536d6987d

View File

@ -40,7 +40,7 @@ If you are working in a branch that is/will become a pull-request against `maste
(my-branch)$ git rebase -i master (my-branch)$ git rebase -i master
``` ```
If you aren't working against another branch you'll have to rebase relative to your `HEAD`. If you want to squish the last 2 commits, for example, you'll have to rebase against `HEAD~2`. For the last 3, `HEAD~3`, etc. If you aren't working against another branch you'll have to rebase relative to your `HEAD`. If you want to squash the last 2 commits, for example, you'll have to rebase against `HEAD~2`. For the last 3, `HEAD~3`, etc.
``` ```
(master)$ git rebase -i HEAD~2 (master)$ git rebase -i HEAD~2