一周前,我开始犯这样的错误,当时我正在用git-cola.几年前我发现了一个类似的问题,但这一点也没有帮助。
"git push" returned exit status 128
Have you rebased/pulled lately?
Already up-to-date.
Pushing to https://github.com/slacktracer/lokapala.git
error: cannot run None: No such file or directory
fatal: could not read Username for 'https://github.com': No such device or address当我推终端时,它工作得很好,所以也许这主要是一个关于git-cola的问题。不管怎么说,只是想知道是否有人能帮忙。我现在迷路了..。
发布于 2014-05-31 04:32:16
cannot run None: No such file or directory这意味着用于提交消息的编辑器没有正确设置。
检查git config core.editor的值
fatal: could not read Username for 'https://github.com': No such device or address如果您没有使用msysgit 1.8.5 (在在这个答案中上),请作为在这个答案中检查:最近的版本没有这个错误。
查看您的配置是否声明了user.name和user.email。
如果https访问始终失败,请尝试切换到ssh。
但是对于https,您还可以创建一个OAut令牌和
git config remote.origin.url https://{token}@github.com/username/project.git
git config remote.origin.url https://{token}@github.com/slacktracer/lokapala.git
# or
git remote set-url origin https://{token}@github.com/slacktracer/lokapala.gitOP松弛器证实了在评论中的观点,这个问题似乎仅限于午餐时的git-cola。
git push允许在任何图形用户界面中直接切换。第179期可以提供帮助,还可以通过以下方式启动git cola:
GIT_COLA_TRACE=1 git colahttps://stackoverflow.com/questions/23966063
复制相似问题