mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #5275
Zetok Zalbavar (1): docs: add to CONTRIBUTING.md Git config line for forcing singning tags
This commit is contained in:
commit
968af2d62b
|
@ -361,17 +361,19 @@ https://github.com/qTox/qTox/wiki/Testing
|
||||||
|
|
||||||
*Not a requirement, just a friendly tip. :wink:*
|
*Not a requirement, just a friendly tip. :wink:*
|
||||||
|
|
||||||
It's nice when commits are being GPG-signed. Github has a few articles about
|
It's nice when commits and tags are being GPG-signed. Github has a few articles
|
||||||
configuring & signing.
|
about configuring & signing.
|
||||||
|
|
||||||
https://help.github.com/articles/signing-commits-using-gpg/
|
https://help.github.com/articles/signing-commits-using-gpg/
|
||||||
|
|
||||||
And *tl;dr* version:
|
And *tl;dr* version:
|
||||||
|
|
||||||
```
|
```sh
|
||||||
gpg --gen-key
|
gpg --gen-key
|
||||||
gpg --send-keys <your generated key ID>
|
gpg --send-keys <your generated key ID>
|
||||||
git config --global commit.gpgsign true
|
git config --local commit.gpgsign true
|
||||||
|
# also force signing tags
|
||||||
|
git config --local tag.forceSignAnnotated true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user