Skip to main content

Fix Git Password

· One min read
Kumar Nitesh

To fix Git password after you have changed it in

on macOS, you can use

git config --global credential.helper osxkeychain

Above command will show no output. But a username and password prompt will appear with your next Git action (pull, clone, push, etc.).

For Windows, it’s the same command with a different argument:

git config --global credential.helper wincred