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

global configuration git

git config --global user.name "pseudo"
git config --global user.email "email@test.com"
git config --global user.password "password"
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 :: pm2 typescript 
Shell :: debian docker 
Shell :: change owner of all the files from a directory linux 
Shell :: how to exit telnet linux 
Shell :: Could not create service of type FileHasher using BuildSessionServices.createFileHasher() 
Shell :: How to install tensorflow-gpu in ubuntu and Linux 
Shell :: how to find my apache server ip address 
Shell :: run /bin/sh command in docker file 
Shell :: linux webcam command line 
Shell :: show seconds ubuntu 
Shell :: npx pod update 
Shell :: install cpanm 
Shell :: remove from staging git 
Shell :: less command 
Shell :: bash substring test 
Shell :: install nodejs with pacman 
Shell :: how to restart network manager in kali 
Shell :: refusing to merge unrelated histories git 
Shell :: batch write to text file 
Shell :: linux remove all files same extension in directory 
Shell :: increment variable bash 
Shell :: how to delete a non empty directory in linux 
Shell :: kill port 
Shell :: how to check tls version 
Shell :: An error occurred while running subprocess capacitor. 
Shell :: uptime kuma docker compose 
Shell :: install oh my zsh ubuntu 
Shell :: how to ping in cmd 
Shell :: Install ansible in alpine linux 
Shell :: fortinet vpn client for ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =