DEV Community

Arnaldo Gabriel
Arnaldo Gabriel

Posted on

One-liner to reset the password associated with git

Note to self

One-liner to reset the password associated with git. Once it is run git will prompt the user to re-enter the password before making a push. Useful for those times when you change the GitHub password.

git config --global --unset user.password

Top comments (0)