Git error remote: Empty password

Naor Shoyhat picture Naor Shoyhat · Mar 29, 2017 · Viewed 16.4k times · Source

I'm trying to clone my git repo from bitbucket, and when I enter this command:

git clone https://[email protected]/naor_shoyhat/hello-world.git

The bash then prompts me a window with areas to enter username and password.

I enter them and then I receive this error:

remote: Empty password
fatal: Authentication failed for 'https://[email protected]/naor_shoyhat/hello-world.git/'

Answer

Shin-Bang Tsai picture Shin-Bang Tsai · Mar 30, 2017

I'm using git(2.12.2) 64-bit on Windows 10. My solution is simply close the login window which you have to type account and password, and a SSh window will pop out, then you type your password.