Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

configure git

//add username
git config --global user.name "your_username"

//add email
git config --global user.email "your_email_address@example.com"

//check configuration
git config --global --list
Comment

git config

git config --global user.name "John Doe"
git config --global user.email johndoe@example.com
Comment

git config command

git config
Comment

git config

# Get system value
$ git config --system --get https.proxy
$ git config --system --get http.proxy

# Get global value
$ git config --global --get https.proxy
$ git config --global --get http.proxy

# Check configuration for your user
$ cat $HOME/.gitconfig

# Unset system value
$ git config --system --unset https.proxy
$ git config --system --unset http.proxy

# Unset global value
$ git config --global --unset https.proxy
$ git config --global --unset http.proxy
Comment

what to do with the git config

Follow the steps mentioned inside the below link: 
https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup

Git config path: C:UsersUSER_NAMEAppDataLocalProgramsGitetc
Comment

PREVIOUS NEXT
Code Example
Shell :: cuda 10 install pytorch 
Shell :: crontab example 
Shell :: git credentials store with timeout 
Shell :: wsl2 ubuntu xfce 
Shell :: wp cli tagline 
Shell :: bash replace specific line in file 
Shell :: how to switch from master to main 
Shell :: upgrade powershell 
Shell :: how to upgrade pnpm 
Shell :: how to copy a file in linux 
Shell :: how to get all avd names in cmd 
Shell :: linux send syslog message to remote server 
Shell :: cat meaning linux 
Shell :: install docker-compose ubuntu 20.04 
Shell :: deleting index.lock 
Shell :: immutable byte 
Shell :: macos git set vscode as editor 
Shell :: online c compiler with working fork 
Shell :: alpine install package 
Shell :: ipnyb to ppt 
Shell :: how delete wireless connection raspberry pi terminal 
Shell :: revert changes to all files of a type git 
Shell :: ubuntu bluetooth dongle not working 
Shell :: linux check if screen is running 
Shell :: install qtpy 
Shell :: apply stash git 
Shell :: matlab activation client 
Shell :: cannot find mui lab module 
Shell :: dateformat npm 
Shell :: git branch command 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =