password issue in cloning git repository from bitbucket
git clone https://firstname.lastname@example.org/id/SOMEGITPROJ.git Cloning into SOMEGITPROJ... Password:
As I have this error.
'PASSWORD' is not recognized as an internal or external command, operable program or batch file.
How to solve this issue? Is there any way to give the password in the same command line of ‘git clone command’?
2 Solutions collect form web for “password issue in cloning git repository from bitbucket”
I found an answer in this site.
- pbcopy < ~/.ssh/id_rsa.pub
- go to account/ssh keys to add this key
- use ssh protocol not https
- cat /home/USER/.ssh/id_rsa.pub > key.txt
- same as Mac
Found this problem too~
try ssh auth instead password.