# git commit -S documentation

2 messages from 2012-05-08 to 2012-05-08. Participants: Geoffroy PLANQUART, Junio C Hamano.
Thread: https://gitlist.dev/t/30477

## Geoffroy PLANQUART, 2012-05-08 22:12

Subject: git commit -S documentation
Message-ID: <48CBB45F-BF3B-470D-B80B-D0CD788E0081@planquart.fr>
URL: https://gitlist.dev/e/48CBB45F-BF3B-470D-B80B-D0CD788E0081%40planquart.fr

```
Hello,

I recently discovered the git commit -S option, but I can't find any documentation about it. I've search the local manpages (both archlinux & mac) and the website before posting.

Are there any information about it, and the way it can be configured and used?
I'd like more information on it and then perhaps make it automatic (without an alias if possible) if it's possible to check the signature in the log or somewhere.

Thanks in advance,
Best regards,

Geoffroy
```

## Junio C Hamano, 2012-05-08 23:49

Subject: Re: git commit -S documentation
Message-ID: <7v1umuutbw.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7v1umuutbw.fsf%40alter.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.

```
