我正在关注"克隆存储库" README.md中的教程。我没有SourceTree,所以我遵循指令"从命令行克隆" (我明白是Git)。当我通过HTTPS / SSH复制命令以克隆时,这两个命令都不起作用。我已经读过你需要一个你认证的文件夹,并在我的C:驱动器中创建一个名为" bitbucketstationslocations"的新文件夹。当我再次将命令粘贴到Git时,它会告诉我:
Cloning into 'bitbucketstationlocations'...
remote: Unauthorized
fatal: Authentication failed for 'https://username@bitbucket.org/username/bit
bucketstationlocations.git/'
我还使用git config --global --unset-all user.name
和git config --global --unset-all user.email
取消了我的user.name和user.email,因为我认为它可能提供了错误的凭据。