2

突然,git fetch、push、pull、clone 等命令停止工作。首先,它出现在 Visual Studio 的团队资源管理器中,然后我尝试了 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

有什么建议么?

4

0 回答 0