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 :: open .bashrc 
Shell :: kill all screen sessions linux 
Shell :: install mariadb ubuntu 20.04 
Shell :: rabbitmq create user 
Shell :: ubuntu watch log file command 
Shell :: bash: zipalign: command not found 
Shell :: linux find latest modified files 
Shell :: install antigen mac 
Shell :: list stopped containers 
Shell :: git global username --replace-all 
Shell :: change lunix password 
Shell :: git blame removed line 
Shell :: discord on linux 
Shell :: linux extract zip with password 
Shell :: how to start a python project 
Shell :: reload vimrc without exiting 
Shell :: stop port in use 8000 
Shell :: search installed packages fedora 
Shell :: convert github issur into pr 
Shell :: terminal change directory location to specific location 
Shell :: vs code on ubuntu 20.04 and delete old version 
Shell :: make a commit with past date 
Shell :: error Failed to install the app. Make sure you have the Android development environment set up 
Shell :: bash get timestamp 
Shell :: install turtle command 
Shell :: gradle init java application 
Shell :: how to use f12 
Shell :: tail access_log 
Shell :: bash while true 
Shell :: wsl docker System has not been booted with systemd as init system 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =