зеркало из https://github.com/github/docs.git
458 B
458 B
-
To set your primary GPG signing key in Git, paste the text below, substituting in the GPG primary key ID you'd like to use. In this example, the GPG key ID is
3AA5C34371567BD2
:git config --global user.signingkey 3AA5C34371567BD2
Alternatively, when setting a subkey include the
!
suffix. In this example, the GPG subkey ID is4BB6D45482678BE3
:git config --global user.signingkey 4BB6D45482678BE3!