git Verified current stable Not installed? Version Control

Git / Compose Introductory Email Message

Compose Introductory Email Message

Easily compose an email to introduce specific commits to your team or collaborators.

$
Terminal
git send-email -<number_of_commits> --compose

When To Use

Preparing to send patches or introduce changes to another developer or team.

Terminal Output

Expected runtime feedback

Simulated preview
>
Output
Composing email...
To: 
Subject: Introducing 3 commits

Dear Team,

I would like to introduce the following commits:
1. Commit A
2. Commit B
3. Commit C

Best,
Your Name

Command Breakdown

What each part is doing

git
Base Command
The executable that performs this operation. Here it runs Git before the shell applies any redirect operators.
<number_of_commits>
number of commits
The value supplied for number of commits.
-<number_of_commits>
Command Option
Tool-specific option used by this command invocation.
--compose
Command Option
Tool-specific option used by this command invocation.

How To Run

Execution path

  1. Step 1

    Run `git send-email -{{number_of_commits}} --compose` in your terminal.

  2. Step 2

    Fill in the email fields and commit details in the editor that opens.

  3. Step 3

    Send the email to introduce your commits to the recipients.

Alternative Approaches

Comparable commands in other tools

Alternative version control tools for the same job.