突然,git fetch,push,pull,clone等命令停止工作。首先,它出现在Visual Studio的Team Explorer中,然后尝试了cmd,PowerShell和Git Bash。只有Git Bash在起作用。我尝试重新安装Visual Studio,Git,Git Credential Manager。我还从Windows的用户帐户和其他位置删除了所有缓存的凭据,还尝试了更改凭据助手。 Powershell的输出为:
error: waitpid for git credential-manager get failed: No child processes
error: waitpid for git credential-manager store failed: No child processes
error: waitpid for git credential-manager store failed: No child processes
Visual Studio的输出是:
Fetching from origin
Error encountered while fetching: Git failed with a fatal error.
'credential-manager' appears to be a git command, but we were not
able to execute it. Maybe git-credential-manager is broken?
bash.exe: warning: could not find /tmp, please create!
'credential-store' appears to be a git command, but we were not
able to execute it. Maybe git-credential-store is broken?
bash.exe: warning: could not find /tmp, please create!
'credential-manager' appears to be a git command, but we were not
able to execute it. Maybe git-credential-manager is broken?
cannot spawn /c/program files (x86)/microsoft visual studio/2017/enterprise/common7/ide/commonextensions/microsoft/teamfoundation/team explorer/Git/mingw32/libexec/git-core/git-askpass.exe: No such file or directory could not read Password for 'https://xx@xxx.com': terminal prompts disabled
有什么建议吗?