Where Is Git Config File Ubuntu?
Contents Ubuntu Linux Git Config File Locations Scope Location and Filename Filename Only System ~Etc/Gitconfig Gitconfig Global ~Home//. Gitconfig or ~Root/...
Contents
| Ubuntu Linux Git Config File Locations | ||
|---|---|---|
| Scope | Location and Filename | Filename Only |
| System | ~etc/gitconfig | gitconfig |
| Global | ~home/<username>/.gitconfig or ~root/.gitconfig | .gitconfig |
| Local | <git-repo>/.git/config | config |
Where is git config file Linux?
On Linux, the config file will remain in the /etc/gitconfig . In macOS, there is a file called as /usr/local/git/etc/gitconfig .
Must Read
How do I find Git config file?
The system level configuration file lives in a gitconfig file off the system root path. $(prefix)/etc/gitconfig on unix systems. On windows this file can be found at C:Documents and SettingsAll UsersApplication DataGitconfig on Windows XP, and in C:ProgramDataGitconfig on Windows Vista and newer.