We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b759b8d commit 56c958dCopy full SHA for 56c958d
README.md
@@ -181,6 +181,11 @@ This will give you an interface on your core editor:
181
# s, squash = use commit, but meld into previous commit
182
# f, fixup = like "squash", but discard this commit's log message
183
# x, exec = run command (the rest of the line) using shell
184
+
185
+# Squashing commits together using reset --soft
186
+$ git reset --soft HEAD~number_of_commits
187
+$ git commit
188
+** WARNING: this will require force pushing commits, which is OK if this is on a branch before you push to master or create a Pull Request.
189
```
190
191
#### Branching and merging
0 commit comments