Bitbucket git push stuck

Hi, just set up a new bitbucket account and created a repo. I already have the code on my local machine, so I added remote access using git remote add now that I did git push origin , it asked me to put the password for the bitbucket account. After I entered the password, it just got stuck. I ran git push in detail mode, but after I set the password, it seems to be stuck.

I also added my ssh key to the idea that this might help solve the problem if it is an authentication problem, but it still asks for my password and gets stuck after I provided it.

+4
source share
1 answer

I also added my ssh key to the idea that it might help solve the problem if it was an authentication problem, but it still asks for my password

It only adds a password if:

  • it cannot find your public / private keys (~ / .ssh / id_rsa (.pub)): check if you are on Windows if% HOME% is defined)
  • the public key was not copied correctly to the bitbucket (usually with a new line)
  • Your remote control ( git remote -v show ) is still configured with an https address.

ssh key

Take a look at BitBucket. Configure SSH for the Git page and try to clone your repo using the ssh address.
(Note: for step 5 on this help page, see also " My .bashrc file failed in Git Bash startup (Windows 7) ").

0
source

Source: https://habr.com/ru/post/1441727/


All Articles