I'm using git gpg signing. I want to disable it. I've set .gitconfig
[user] name = NAME email = EMAIL signingkey = KEY ... [commit] gpgsign = false
My commits are still signing by default.
PS: I also disabled from Sourcetree Repository/ Repository Settings/Security
tab. Both Sourcetree and terminal forces to use gpg.
Deleting your GPG Key You can delete your key via terminal with the command gpg --delete-secret-keys simply append your username or key ID.
Is there a way to add a signature to an already recorded commit? For the record, you can tell git to always sign commits via configuration: git config commit. gpgsign true .
About GPG keys GPG is a command line tool used together with Git to encrypt and sign commits or tags to verify contributions in Bitbucket. In order to use GPG keys with Bitbucket, you'll need generate a GPG key locally, add it to your Bitbucket account, and also set it up for use with Git.
You can disable this by running git config commit.gpgsign false
This sets the configuration locally instead of globally.
Putting this setting in .gitconfig worked for me with what you had, without the [user] configuration:
[commit] gpgsign = false
To temporarily disable GPG signing for the next commit:
git -c commit.gpgsign=false commit
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With