Information Technology Reference
In-Depth Information
It should print the empty results. That is because right after the installation the user
name is not configured. Set the user.name configuration option using the following
command:
$ git config --global user.name "John Doe"
Instead of John Doe type your name and surname.
Next, run the command:
$ git config --global user.email john.doe@example.net
This command will set your email.
How It Works
If you want to create commits within git repository, you have to configure two settings:
user.name and user.email. Otherwise, when you run the $ git commit command,
git will print the warning. The strings that you use as values for user.name and
user.email will be stored within every commit you create.
Search WWH ::




Custom Search