“Git Global Config Location” Respostas de código

Git Config Global

$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]
Tame Toad

onde está o arquivo de configuração global para o git

git config --global --edit 
# It will open git config file and you can make necessary changes
Hami yestia ta honi bro

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
Famous Flatworm

Respostas semelhantes a “Git Global Config Location”

Perguntas semelhantes a “Git Global Config Location”

Mais respostas relacionadas para “Git Global Config Location” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código