git modify submission email and username - pro test

1. View git configuration

          $ git config --list This command will list all the configurations that GIT can find at the time
           ...

          View list items

          [email protected] Email
          user.name=123 Username

    2. Modify email and username

         1. Reset email and username

          $ git config --global user.email"[email protected]"   

          $ git config --global user.name"123456"  

          2. On the original basis, modify the mailbox and user name

          $ git config --global -e show current email and username

          i letter i writing status (displayed in the lower left corner of the git command line - -insert--)   

          ...... modify email and username

          Esc Esc key in the upper left corner of the computer (exit editing)

          Shift+; Press the Shift key and the semicolon key at the same time (displayed in the lower left corner of the git command line:)
          wq Enter this command and press Enter

          3. Modify .gitconfig directly

             The location of the file varies depending on the account. My own is in the directory C:\Users\lucky's tomorrow\, and you can open and modify it with the compiled script.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324984389&siteId=291194637