How to disable git gpg signing

前端 未结 4 605
执念已碎
执念已碎 2021-02-02 06:36

I\'m using git gpg signing. I want to disable it. I\'ve set .gitconfig

[user]
    name = NAME
    email = EMAIL
    signingkey = KEY
...
[commit]
           


        
4条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-02 06:59

    To unsign the last commit:

    git commit --amend --no-gpg-sign
    

    -no-gpg-sign

    Countermand commit.gpgSign configuration variable that is set to force each and every commit to be signed.

提交回复
热议问题