diff --git a/README.md b/README.md index 06c90806..8216e303 100644 --- a/README.md +++ b/README.md @@ -32,19 +32,27 @@ Single Repository: ```sh cd /path/to/my/repository -git config --local commit.gpgsign true # Sign all commits -git config --local tag.gpgsign true # Sign all tags git config --local gpg.x509.program gitsign # Use gitsign for signing git config --local gpg.format x509 # gitsign expects x509 args + +# Warning: Setting this will make git commit/tag reliant on internet. +# Alternatively, don't use -S instead of these settings. +git config --local commit.gpgsign true # Sign all commits +git config --local tag.gpgsign true # Sign all tags + ``` All respositories: ```sh -git config --global commit.gpgsign true # Sign all commits -git config --global tag.gpgsign true # Sign all tags git config --global gpg.x509.program gitsign # Use gitsign for signing git config --global gpg.format x509 # gitsign expects x509 args + + +# Warning: Setting this will make git commit/tag reliant on internet. +# Alternatively, don't use -S instead of these settings. +git config --global commit.gpgsign true # Sign all commits +git config --global tag.gpgsign true # Sign all tags ``` To learn more about these options, see