Configuring Git – the command line
We'll look at configuring Git to personalize throughout this book, but for now, let's add your name and email address so that every entry into Git is stamped appropriately. Enter the command-line command:
git config --global --edit
This will bring up your editor. Find or create the [user]
section and add the following:
[user]
name = Jesse Liberty
email = [email protected]
You will probably want to use your own name and email address.
There are other entries in the config file. Ignore them for now and save and close the file.