We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdd5946 commit 6159ddeCopy full SHA for 6159dde
src/git.md
@@ -160,7 +160,7 @@ Alternatively, you can sacrifice the commit history like this:
160
161
```
162
# squash all the changes into one commit so you only have to worry about conflicts once
163
-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
164
git rebase master
165
# fix all merge conflicts
166
git rebase --continue
0 commit comments