From the course: Git Essential Training

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Configure Git

Configure Git

- [Instructor] When we have Git on our local computer, we have some configuration that we can do and some that needs to be done. You don't need to do this if you're using a code space, but you should still be aware of the mandatory configuration for when you move to a local device. There are a few different Git config files. The two that are most likely to be of use for you are the global config and the local config. The global configuration applies to all the repositories for your user profile. The file is called .gitconfig, and you can find it in your home directory or in your user folder. The other configuration I want to mention is the local configuration. This applies to a specific repository and is stored inside a file called config. You can find it in a folder in your repository called .git. Note that on Windows, this might be a hidden folder. The settings in this file will override any settings in the global configuration. You are able to edit these settings using a text…

Contents