BitBucket#
The pull or clone command hangs after your enter the password
This may be related to the https protocol. Use ssh instead. Hereβs how to do this:
Open terminal, type
more ~/.ssh/id_rsa.pub
. Copy the public key.Open web browser, go to your bitbucket, under Manage accountβ>SSH Key, paste the key.
Go to your repositoryβ>overview, then click on HTTPS and select SSH. Copy the repository address.
In the terminal, go to your git folder and type
git config -e
. This will open vim, then change the https repository for the ssh one.
If you donβt have a public key yet, go to the folder ~/.ssh/
and type:
ssh-keygen -t rsa -C your_email@example.com