From 9c7e50848db4da4be6683ace52526923c7a3f86d Mon Sep 17 00:00:00 2001 From: Alison Li Date: Tue, 18 Aug 2020 15:29:32 -0700 Subject: [PATCH] git-send-email: improve examples and descriptions (#3953) --- pages/common/git-send-email.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/common/git-send-email.md b/pages/common/git-send-email.md index ee59c17228..f0a4605845 100644 --- a/pages/common/git-send-email.md +++ b/pages/common/git-send-email.md @@ -14,12 +14,12 @@ - Send multiple (e.g. 10) commits in the current branch: -`git send-email -10` +`git send-email {{-10}}` -- Send an extra mail before the patch mail(s) (e.g. an introduction to the patch set as a cover letter) and edit the mail(s) to be sent: +- Send an introductory email message for the patch series: -`git send-email -{{number of commits} --cover-letter --annotate` +`git send-email -{{number of commits}} --compose` -- Send the last commit in the current branch with the patch version (e.g. 2) indicated in the subject header (to appear as [PATCH v2]): +- Review and edit the email message for each patch you're about to send: -`git send-email -v2 -1` +`git send-email -{{number of commits}} --annotate`