【问题标题】:Git Credential Manager Not Found on WSL2在 WSL2 上找不到 Git 凭据管理器
【发布时间】:2022-06-21 12:16:23
【问题描述】:

错误信息:

/mnt/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-manager-core.exe get: 1: /mnt/c/Program Files/Git/mingw64/libexec/git-core/git-credential-manager-core.exe: not found

【问题讨论】:

    标签: git windows-subsystem-for-linux wsl-2


    【解决方案1】:

    解决方案

    在 WSL2 上执行此命令:

    git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-wincred.exe"
    

    说明

    我认为git-credential-manager-core.exe 已经重命名为git-credential-wincred.exe 但互联网上的许多教程已经被弃用,因为它们给了我们这个可执行文件的旧名称。这是我最大的问题,因为遵循任何教程只会让我随着时间的推移发现同样的错误。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-12-14
      • 2016-02-07
      • 1970-01-01
      • 1970-01-01
      • 2022-12-06
      • 1970-01-01
      相关资源
      最近更新 更多