- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
尝试使用 GitHub Desktop 提交我的更改并获得以下信息:
error: cannot run gpg: No such file or directory
error: could not run gpg.
fatal: failed to write commit object(128)
In Oficial doccumentation for GitHub Desktop i found some notation:
Note: GitHub Desktop does not support GPG signing.
最佳答案
解决了。
因此,当 GitHub Desktop 提示无法找到 gpg(我是通过自制软件安装的)时,我认为应该有一种方法可以告诉 git gpg 的确切路径,结果是:
gpg.programUse this custom program instead of "gpg" found on $PATH when making or verifying a PGP signature. The program must support the same command-line interface as GPG, namely, to verify a detached signature, "gpg --verify $file - <$signature" is run, and the program is expected to signal a good signature by exiting with code 0, and to generate an ASCII-armored detached signature, the standard input of "gpg -bsau $key" is fed with the contents to be signed, and the program is expected to send the result to its standard output.https://git-scm.com/docs/git-config
git config --global gpg.program "$(which gpg)"
GitHub 回复我说有些用户也需要使用:
echo "no-tty" >> ~/.gnupg/gpg.conf
关于macos - Mac 上的 Github 桌面,错误 : cannot run gpg: No such file or directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36941533/
我是一名优秀的程序员,十分优秀!