How to disable git gpg signing

前端 未结 4 612
执念已碎
执念已碎 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:38

    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
    

提交回复
热议问题