How Do I Clear, Save, and Change the Username and Password in Git?
- To facilitate later use, you can perform the following operations to save the username and password.
- To clear the username and password, perform the following operations.
- To change the username and password, perform the following operations.
Open the Git client, clear the previous username and password, and run the following command to reconfigure them:
Username
git config --global --user.name"username"
Email
git config --global --user.email"user@email"
Password
git config --global credential.helper store
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.