问题描述
尝试在 github 桌面上提交到 github 时遇到以下问题:
error: cannot spawn null: No such file or directory
error: gpg failed to sign the data
fatal: failed to write commit object
最初我只收到一个 fatal
错误,因为无法生成 null,但后来我跑了
git config --global commit.gpgsign tru
获取当前错误。
我尝试删除然后重新克隆存储库,甚至单独删除存储库中的每个文件,而无需使 github 桌面不再将目录注册为存储库,但无济于事。我现在不知道如何解决这个问题,也不知道是什么导致了这个问题。想法?
注意:问题出在这个单一的存储库中,我所有的其他存储库都运行良好。
编辑:
结果:
git config --local -l
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
core.symlinks=false
core.ignorecase=true
submodule.active=.
remote.origin.url=https://github.com/***{this information is correct}***.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
commit.gpgsign=true
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)