【发布时间】:2020-01-28 09:15:03
【问题描述】:
环境:Mac Bash, 当我尝试进入一个 repo 时(首先是一个组织 repo,然后是我自己的私人 repo,都得到了相同的 auth failed 错误):
似乎用户名和密码错误。但是,当我登录 Github 时,我使用的正是用户名和密码。我确认了好几次。有人能告诉我这里出了什么问题吗?
==> Tapping <my repo name>
Cloning into '/usr/local/Homebrew/Library/Taps/<my user name>/homebrew-<my repo name>'...
git: 'credential-osxkeychain' is not a git command. See 'git --help'.
Username for 'https://github.com': <my github user name>
Password for 'https://<my user name>@github.com':
git: 'credential-osxkeychain' is not a git command. See 'git --help'.
remote: Invalid username or password.
fatal: Authentication failed for 'https://<my user name>/homebrew-<my repo name>'
Error: Failure while executing; `git clone https://github.com/<my user name>/homebrew-<my repo name> /usr/local/Homebrew/Library/Taps/<my user name>/homebrew-<my repo name> --depth=1` exited with 128.
【问题讨论】:
-
这不是编程问题,而是关于使用某些软件的问题。因此,它更适合例如superuser.com。
-
which git-credential-osxkeychain说什么?