Skip to content

Commit 008abc0

Browse files
Merge pull request #2779 from reddevilmidzy/squash
Introduce `@bors squash` command
2 parents 807ffe6 + e334fa0 commit 008abc0

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/git.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,13 @@ because they only represent "fixups" and not real changes.
410410
For example,
411411
`git rebase --interactive HEAD~2` will allow you to edit the two commits only.
412412

413+
For pull requests in `rust-lang/rust`, you can ask [bors] to squash by commenting
414+
`@bors squash` on the PR.
415+
By default, [bors] combines all commit messages in the PR.
416+
To customize the commit message, use `@bors squash [msg|message=<commit-message>]`.
417+
418+
[bors]: https://github.com/rust-lang/bors
419+
413420
### `git range-diff`
414421

415422
After completing a rebase, and before pushing up your changes, you may want to

0 commit comments

Comments
 (0)