bitbucket git push stuck

bitbucket, git, push

Solution

Also I added my ssh key to bitbucket thinking that might help resolve the issue if it was authentication issue, but it still asks me for the 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 has been incorrectly copied over to bitbucket (typically with a newline in it)

- your remote (`git remote -v show`) is still configured with https address.

Check out the BitBucket Set up SSH for Git page, and try cloning your repo using the ssh address. (Note: for step 5 on that Help page, see also "My .bashrc file not executed on Git Bash startup (Windows 7)").

Problem

Hi just set up a new bitbucket account and created a repo. I already have code in my local machine so I added the remote using `git remote add` now when i did `git push origin`, it prompted me to put password for the bitbucket account. After i entered the password, it just appears to be stuck. i ran `git push` on verbose mode but after I put the password it seems to be stuck. Also I added my ssh key to bitbucket thinking that might help resolve the issue if it was authentication issue, but it still asks me for the password and get stuck after i provide it.

Original source

Related problems