我有bitbucket git存储库。 我试图从我的电脑上克隆它,但我不能给密码。
git clone https://id@bitbucket.org/id/SOMEGITPROJ.git
Cloning into SOMEGITPROJ...
Password:
因为我有这个错误。
'PASSWORD' is not recognized as an internal or external command,
operable program or batch file.
如何解决这个问题?有没有办法在'git clone命令'的同一命令行中输入密码?
答案 0 :(得分:6)
我在这个网站找到了答案。
适用于mac
http://confluence.atlassian.com/pages/viewpage.action?pageId=270827678
简而言之:
适用于PC
http://confluence.atlassian.com/display/BITBUCKET/Set+up+SSH+for+Git
简而言之: