Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problem with git push and entering password

Tags:

git

bitbucket

I've just setup an account on bitbucket and trying to import my repository for the first time.

I type this command:

git push -u origin --all

Then I am prompted for my password. When I hit enter a new line is inserted and nothing happens. I can also see my password on the screen. For example if my password was "mypassword" this is what it would look like after I run the command, hit enter, enter password and hit enter:

enter image description here

Thanks in advance!

like image 856
wkm Avatar asked May 05 '26 19:05

wkm


1 Answers

ooh, this post is pretty old but,

when setting the remote repository try to use:

git remote set-url origin https://[email protected]/username/repo.git

instead of:

git remote add origin https://[email protected]/username/repo.git

It worked for me.

like image 79
Norly Canarias Avatar answered May 08 '26 08:05

Norly Canarias



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!