【发布时间】:2019-06-12 07:29:06
【问题描述】:
虽然我可以在 eclipse 上 git fetch/pull/push,但是当我在 GitBash 上 git fetch 时,出现如下错误,如何在远程设置 id/pw?
remote: Invalid username or password.
fatal: Authentication failed for 'https://abc.xyz.co.jp/projects/project.git/'
【问题讨论】:
-
Git(即您在机器上本地运行的
git命令)无法在任何其他机器上设置您的 ID 和/或密码。您需要找到某种方法来告诉另一台机器执行此操作。您本地 Git 所能做的就是提供您提供给本地 Git 的任何用户名和/或密码。
标签: git git-remote git-fetch