git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git commit -S documentation

From
Junio C Hamano <gitster@pobox.com>
Date
May 8, 2012, 23:49 UTC
Message-ID
<7v1umuutbw.fsf@alter.siamese.dyndns.org>
In-Reply-To
<48CBB45F-BF3B-470D-B80B-D0CD788E0081@planquart.fr>
Geoffroy PLANQUART <geoffroy@planquart.fr> writes:
> I recently discovered the git commit -S option, but I can't find any
> documentation about it.

It was done as a bonus checkbox feature while the more important "merge signed tag" feature was implemented, as the changes needed for the latter had to touch codepaths that needed to be touched to implement the former, so I am not surprised if it is underdocumented ;-)

Output from "git log ^4a3a1ed 5de89d3a", especially the log message for ba3c69a (commit: teach --gpg-sign option, 2011-10-05), would be a good place to start writing new materials to add to the documentation, but at the end-user level the only two options that matter would be --gpg-sign given to "git commit", and "--show-signature" given to "git log" family of commands.

Thanks.
Previous: Geoffroy PLANQUART
Message 2 of 2 in “git commit -S documentation”
  1. Geoffroy PLANQUARTMay 8, 2012
  2. Junio C HamanoMay 8, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.