Username and email address
suggest changeRight after you install Git, the first thing you should do is set your username and email address. From a shell, type:
git config --global user.name "Mr. Bean"
git config --global user.email mrbean@example.com
git configis the command to get or set options--globalmeans that the configuration file specific to your user account will be editeduser.nameanduser.emailare the keys for the configuration variables;useris the section of the configuration file.nameandemailare the names of the variables."Mr. Bean"andmrbean@example.comare the values that you’re storing in the two variables. Note the quotes around"Mr. Bean", which are required because the value you are storing contains a space.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents