Ken M. Haggerty Ken M. Haggerty - 1 year ago 174
Git Question

How to update password for git?

I'm using BitBucket with Xcode and git for version control, and recently I changed all of my passwords (thanks Adobe!).

Unsurprisingly, I'm no longer able to push my local commits to my repo on BitBucket (

Authentication failed for 'https://______.git'
), but I'm forgetting how to update the cached password on my iMac. Somehow I've been unable to find it on Google or StackOverflow, though it seems to me it should be rather straightforward...

Answer Source

...and it started working -__-

I think what worked was typing:

git config --global credential.helper osxkeychain

I was then prompted for my password, and everything now seems back to normal.

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