首页 > 其他 > 详细

Need help with git commit - Error : "error: cannot run gpg: No such file or directory error: could not run gpg. fatal: failed to write commit object"support (self.git)

时间:2017-01-04 07:42:50      阅读:1439      评论:0      收藏:0      [点我收藏+]

参考:https://www.reddit.com/r/git/comments/4jflp1/need_help_with_git_commit_error_error_cannot_run/

It looks like you have configured git to automatically sign commits - if that isn‘t what you want, turn it off via git config --global commit.gpgsign false. If you did intend to sign your commits, then you‘ll need to properly configure either gpg or gpg2 on your system.

意思就是如果不需要进行加密,执行如下命令,后正常提交了。

git config --global commit.gpgsign false.

 

Need help with git commit - Error : "error: cannot run gpg: No such file or directory error: could not run gpg. fatal: failed to write commit object"support (self.git)

原文:http://www.cnblogs.com/luodengxiong/p/6247046.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!