Git learning journey - to create a user name and e-mail address

Git learning journey - to create a user name and e-mail address

This article will first article I join csdn as a bar, welcome of all the god guidance.

I am a windows system, so the only record on this learning system.

Download git official
Liao Xuefeng the great God tutorial

Start recording this novice learning:

After downloading a good safety switch is relatively simple, not repeat them.

I am more accustomed to the program on the desktop, more convenient to find the location of the installation git, the Git Bash send desktop shortcuts, OK.

First, create a user name and mailbox

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

Code execution finished and there is no prompt, no results is the best result. (Just put the code here, and did not perform here)

If the creation process quick, find mistakes, it does not matter, then execute the above code again.

Note: -global are global meaning, unified use on this machine. You can not add, equivalent to sub-users.

To get the user name and mailbox is also very simple

$ git config --global user.name 
$ git config --global user.email

It's that simple.

Released three original articles · won praise 0 · Views 29

Guess you like

Origin blog.csdn.net/tiamo_pp98/article/details/105379778