Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bitbucket, Windows and "fatal: could not read Password for"

I recently reinstalled Windows and I have a problem with downloading files from repository.

I have installed GIT and Python, but when I am trying to download anything from Bitbucket I get the message:

"fatal: could not read Password for: 'https://[email protected]': No such file or directory". 

What am I doing wrong?

like image 256
sunpietro Avatar asked Jan 04 '14 15:01

sunpietro


Video Answer


2 Answers

I solved it setting a global parameter:

git config --global core.askpass /usr/libexec/git-core/git-gui--askpass 
like image 178
jsarroyo Avatar answered Nov 04 '22 10:11

jsarroyo


Try to include your username and password in the URL like this:

git clone https://username:[email protected]/path_to/myRepo.git 
like image 38
Yauheni Sivukha Avatar answered Nov 04 '22 09:11

Yauheni Sivukha