PHPStorm uses a private key to sign a commit

How to sign git commit in PhPStorm?

which works (option "-S"):

git commit -S -m "My message"

But it is not possible to find a way to achieve it using PHPStorm.

+4
source share
1 answer

Your best bet is the workaround suggested in the current bug reporting IDEA-110261 Support for git commit -S (GPG commit commit) .

  • In your terminal, set the sign for the project: git config commit.gpgsign true
  • In the configuration file ~/.gnupg/gpg.confadd:

    no-tty
    use-agent
    
+7
source

Source: https://habr.com/ru/post/1629908/


All Articles