Help Center> CodeArts Repo> FAQs> Git Issues> How Do I Clear, Save, and Change the Username and Password in Git?
Updated on 2023-12-04 GMT+08:00

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.
    Open the Git client, configure the username and password, and run the following command to save them:
    git config --global --unset credential.helper store
  • To clear the username and password, perform the following operations.
    Open the Git client and run the following command:
    git config --global --unset credential.helper 
  • 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

Git Issues FAQs

more