From 8c3be6d301203966a2a0dda3b15a1ea5c5782846 Mon Sep 17 00:00:00 2001 From: Redddy Date: Mon, 13 Apr 2026 11:39:17 +0900 Subject: [PATCH] Document quoting for `@bors squash msg=` --- src/git.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/git.md b/src/git.md index faa2d8f2a..9e4ad2d81 100644 --- a/src/git.md +++ b/src/git.md @@ -386,7 +386,8 @@ the history becomes easier to work with. The easiest way to squash your commits in a PR on the `rust-lang/rust` repository is to use the `@bors squash` command in a comment on the PR. By default, [bors] combines all commit messages of the PR into the squashed commit message. To customize the commit message, use `@bors squash msg=`. - +If you want to use multiple words in the commit message, wrap it in double quotes. +For example, `@bors squash msg="Improve diagnostics for missing lifetime parameter"`. If you want to squash commits using local git operations, read on below.