Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

where is global config file for git

git config --global --edit 
# It will open git config file and you can make necessary changes
Comment

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
Comment

PREVIOUS NEXT
Code Example
Shell :: where is wsl folder in windows 
Shell :: how to install dpkg in ubuntu 
Shell :: find or locate pip (s) path 
Shell :: restart mosquitto 
Shell :: install all dependencies npm 
Shell :: arch linux change timezone 
Shell :: bash home 
Shell :: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? 
Shell :: windows subsystem for linux install 
Shell :: ssh-add git 
Shell :: linux kill a port 
Shell :: composer install debian 
Shell :: error during global initialization mongodb 
Shell :: how to change branch name in github 
Shell :: sudo cd 
Shell :: bash escape special characters in variable 
Shell :: Finding Apache http Process 
Shell :: linux append content of file to another linux 
Shell :: Apply .gitignore on an existing repository 
Shell :: powershell check if command exists 
Shell :: ubuntu packages 
Shell :: why jupyter notebook suggestions not showing after upgrade 
Shell :: How to download Citrix Workspace for Ubuntu 
Shell :: install nvm mac with brew 
Shell :: use touch id to sudo 
Shell :: curl head request 
Shell :: how to install unsigned drivers on windows 10 
Shell :: find bigger file on linux centos 
Shell :: configuring git ssh keys 
Shell :: install docker on windows powershell 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =