BitBucket

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