The simple yet complicated world of git and its configurations. Also known as “How to leave your mark on the world”
This will be a simplified version of the full introduction to git Config. And it will cover the basics to get you started with commiting.
There are three levels of configuration in git.
The levels are applied from top to bottom below.
- Repo(Local) level
- Works on the repository level and only applies to current repo (.git/config)
- User Home(Global) level
- Works on the user level and applies to current user (~/.gitconfig)
- System Level
- Works on system-wide level and applies to any and all repos or users that haven’t configured the above.
Once these commands have been run, it will be the identity that will be associated with all the commits with the name and email that were specified.