git clone:我收到一个奇怪的身份验证错误

我是私人github仓库中的管理员。从今天早上开始,当我尝试克隆该仓库时,我得到:

git clone https://github.com/myblabla/blabla.git
Cloning into 'blabla'...
Missing or invalid credentials.
Error: connect ENOENT /run/user/1000/vscode-git-fa9d1b661a.sock
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1056:14) {
  errno: 'ENOENT',
  code: 'ENOENT',

  syscall: 'connect',
  address: '/run/user/1000/vscode-git-fa9d1b661a.sock'
}
Missing or invalid credentials.
Error: connect ENOENT /run/user/1000/vscode-git-fa9d1b661a.sock
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1056:14) {
  errno: 'ENOENT',
  code: 'ENOENT',
  syscall: 'connect',
  address: '/run/user/1000/vscode-git-fa9d1b661a.sock'
}
remote: Repository not found.
fatal: Authentication failed for 

我以前从未有过。解决办法是什么?

当我做:

ssh -T git@github.com

我得到:

git@github.com: Permission denied (publickey).
评论
  • xipsam
    xipsam 回复

    显然,这是vscode的终端复活节彩蛋。当我在适当的终端中键入git clone命令(不是vs中的仿真器时,它照常工作)