WebStorm是否支持PGP



我正在尝试将PGP与当前版本的WebStorm用于远程Git。但是,每次尝试都失败了?

我在尝试提交推送时收到以下错误

0 files committed, 1 file failed to commit: [+] Initial commit after reinstallation of 'angular 2 seed advanced' and refactoring to com-epimss.ng2.ts [!] INCOMPATIBLE WITH version: 0.0.0 gpg: cannot open tty `no tty': No such file or directory error: gpg failed to sign the data fatal: failed to write commit object

是否可以将WebStorm与PGP一起使用?

WebStorm调用git w/o终端(tty),你的GPG密钥需要密码。

您需要触发代理并为 GPG 密钥添加密码。

如果您使用的是Windows,这应该会有所帮助:https://jamesmckay.net/2016/02/signing-git-commits-with-gpg-on-windows/

如果你在Unix上,我帮不了你,对不起。


或者,您可以删除 GPG 密码。但这是非常危险的安全隐患!仅当您要使用为此目的创建的密钥对其进行测试时才使用它。

最新更新