Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Help Center/ CodeArts Repo/ FAQs/ Git Issues/ How Do I Clear, Save, and Change the Username and Password in Git?

How Do I Clear, Save, and Change the Username and Password in Git?

Updated on 2023-12-04 GMT+08:00
  • 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
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback