software is fun software is fun - 1 year ago 117
Git Question

Bitbucket fails to authenticate on git pull

I use BitBucket and had to change my password because it was compromised.

git pull

remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.

fatal: Authentication failed for ''

How can I change my password using command line?

Answer Source
 git config --global credential.helper osxkeychain

This resets the password in OS X keychain and after executing this, it prompts you for the user name and password for your repo.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download