vcs:commit-signing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
vcs:commit-signing [2021/04/01 14:18] – Feedback from Rowan Tommins; add FAQ; editorial corrections bishopvcs:commit-signing [2021/04/01 14:56] – log.showSignature pollita
Line 403: Line 403:
  
 The ''.gitconfig'' file, lines 1 through 11 set a global signing key, while lines 13 and 14 use a //different// configuration for all repositories under the ''$HOME/code/php'' directory. For those repos, it uses the signing key ''7DB08A14''. The ''.gitconfig'' file, lines 1 through 11 set a global signing key, while lines 13 and 14 use a //different// configuration for all repositories under the ''$HOME/code/php'' directory. For those repos, it uses the signing key ''7DB08A14''.
 +
 +==== Always show signatures in logs ====
 +
 +To always display signatures in commit logs, you can configure git to always display them by default
 +
 +<code>
 +    git config --global log.showSignature true
 +</code>
  
 ===== Thanks ===== ===== Thanks =====
  
 This guide was adapted, with permission, from internal developer documentation at [[https://github.com/lifeomic|LifeOmic]]. This guide was adapted, with permission, from internal developer documentation at [[https://github.com/lifeomic|LifeOmic]].
vcs/commit-signing.txt · Last modified: 2021/04/01 16:48 by bishop