Horje
git config location Code Example
git config location
$ git config --global user.name "John Doe"
$ git config --global user.email johndoe@example.com
Source: git-scm.com
git global config location
To track down the file holding each config option set on your own system:
  git config --list --show-origin

Generally, there are three configs:
  * git config puts stuff in <repo root>/.git/config by default
  * git config --global puts stuff in <user home>/.gitconfig
    * On Linux/macOS, this means ~/.gitconfig
    * On Windows, this means %HOMEDRIVE%%HOMEPATH%\.gitconfig
      (not %USERPROFILE%\.gitconfig; these are not always the same)
  * git config --system puts stuff in a global config file shared by all users
    * On Linux, it's /etc/gitconfig
    * On macOS, it's /Applications/Xcode.app/Contents/Developer/usr/etc/gitconfig
    * On Windows, it's <wherever you installed Git>/etc/gitconfig




Shell

Related
snap install atom Code Example snap install atom Code Example
how to change a user email for a project in git Code Example how to change a user email for a project in git Code Example
change git username and email Code Example change git username and email Code Example
set git user name and user email Code Example set git user name and user email Code Example
git config username Code Example git config username Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
17