I have done something really dumb. I was in a hurry and since I needed to clone a project from my personal bitbucket account into my work laptop. So I did it using HTTPS and writing my password after the git clone....
The problem is that I can now always clone (and push) all that I want from my personal repository without put my password and I have no idea how to change this.
Just in case "MAC" is not understandable, I am on OSX.
Have you previously set:
git config --global credential.helper osxkeychain
I think that's the default after brew install git. You can check with:
git config --list
Edit using KeyChain Access or at the command line:
git credential-osxkeychain erase
The GitHub documentation is nicer than Atlassian's in my opinion but the same things should apply.
https://help.github.com/articles/caching-your-github-password-in-git/
https://help.github.com/articles/updating-credentials-from-the-osx-keychain/
https://confluence.atlassian.com/bitbucketserver/permanently-authenticating-with-git-repositories-776639846.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With