赞
踩
前天晚上写完相关的代码没有测试就commit了,今天想着测试一下然后push,debug完了之后突然发现和gitee的连接出现了问题,遂搜索了一番找到了解决方案。
报错如下:
- wishmeluck@wishmeluck:~/muduo_chat_server$ git push origin master
- Missing or invalid credentials.
- Error: connect ECONNREFUSED /run/user/1000/vscode-git-ec011034bf.sock
- at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
- errno: -111,
- code: 'ECONNREFUSED',
- syscall: 'connect',
- address: '/run/user/1000/vscode-git-ec011034bf.sock'
- }
- remote: [session-fc456392] Unauthorized
- fatal: Authentication failed for 'https://gitee.com/leehaunan/muduo_chat_server'
解决:文件 --> 首选项 --> 搜索git.auth...,取消勾选后重新勾选,然后重启终端。问题解决。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。