Fix instructions for squashing
`git merge-base master` does not work, you need `git merge-base master HEAD` instead.
This commit is contained in:
parent
c1c6dac0b5
commit
2571db38e4
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ Alternatively, you can sacrifice the commit history like this:
|
|||
|
||||
```
|
||||
# squash all the changes into one commit so you only have to worry about conflicts once
|
||||
git rebase -i $(git merge-base master) # and squash all changes along the way
|
||||
git rebase -i $(git merge-base master HEAD) # and squash all changes along the way
|
||||
git rebase master
|
||||
# fix all merge conflicts
|
||||
git rebase --continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue