EN
Git - remove saved password in MacOS
9 points
In this short article, we would liek toshow how to remove saved password in Git using Terminal or other command line.
Do the following steps:
1. open terminal and type the following command:
xxxxxxxxxx
1
git credential-osxkeychain erase
2. type host name that you want to remove and press Enter
key (e.g. github.com):
xxxxxxxxxx
1
host=github.com
Hint: change
github.com
to other host if needed.
3. type protocol name that you want to remove for the host and press Enter
key:
xxxxxxxxxx
1
protocol=https
Hint: change
https
to other protocol if needed.
4. press Enter
key 2 times.