master缺少凭证或凭证无效

master缺少凭证或凭证无效

本文介绍了git push origin master缺少凭证或凭证无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法再将其推送到源主控器, git push origin master ,由于几天,我已经卸载了git和Visual Code并重新安装了它,但是什么也没有,我遇到了同样的错误:

Cannot push anymore to origin master, git push origin master, since a few days, I have uninstalled git and Visual Code and reinstalled it but nothing, I'v got same error :

Missing or invalid credentials.
Error: socket hang up
    at connResetException (internal/errors.js:559:14)
    at Socket.socketOnEnd (_http_client.js:433:23)
    at Socket.emit (events.js:208:15)
    at endReadableNT (_stream_readable.js:1168:12)
    at processTicksAndRejections (internal/process/task_queues.js:77:11) {
  code: 'ECONNRESET'
}

我不了解这种行为,因为在我的另一台计算机上一切正常,并且没有GitHub文件损坏.

I do not understand this behavior, because on my other computer everything works, and no GitHub files are corrupted.

这是我的配置:Ubuntu 18.04.4 LTS

here is my configuration : Ubuntu 18.04.4 LTS

请需要帮助!

推荐答案

昨天我在VScode中使用内置终端出现了此错误.我的问题是vscode提示我在VScode的顶部而不是在终端输入我的github用户名和密码.我只是没有看到输入字段,而auth连接最终在终端中超时.

I had this error yesterday using the built in terminal in VScode. My issue was that vscode was prompting me for my github username and password at the top of VScode, and not in the terminal. I just didn't see the input field and the auth connection eventually timed out in the terminal.

这篇关于git push origin master缺少凭证或凭证无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-07 06:54