如何在 PhPStorm 中签署 git commit?
有效的命令行(选项“-S”):
git commit -S -m "My message"
但找不到使用 PHPStorm 实现它的方法。
最佳答案
您最好的选择是当前错误归档中建议的解决方法 IDEA-110261 Support git commit -S (GPG commit sigining) .
- 在您的终端中,将项目设置为签名:
git config commit.gpgsign true
在配置文件
~/.gnupg/gpg.conf
添加:no-tty use-agent
关于git - PHPStorm 使用私钥签署提交,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35556869/