【发布时间】:2017-08-23 07:57:00
【问题描述】:
我正在尝试从 bitbucket 克隆我的 git 存储库,当我输入此命令时:
git clone https://naor_shoyhat@bitbucket.org/naor_shoyhat/hello-world.git
然后 bash 会提示我一个窗口,其中包含输入用户名和密码的区域。
我输入它们,然后我收到此错误:
remote: Empty password
fatal: Authentication failed for 'https://naor_shoyhat@bitbucket.org/naor_shoyhat/hello-world.git/'
【问题讨论】:
-
在哪里运行这个命令?在 bash shell 中?就像我在 bash shell 中所做的那样,它只要求我输入密码,因为已经指定了用户名。只需输入并回车即可。
-
我最近也遇到了这个错误。我在 Smartgit 上使用令牌身份验证,我必须每隔几个小时创建一个新令牌