Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

setup git config for multiple accounts

# to set user on a per repo basis run the following commands in the project/repo root directory
git config user.name "My Special Repo Account User Name"
git config user.email myspecialrepoaccount@email.com

# to set a global/default git user run the following commands anywhere
git config --global user.name "My Default Account User Name"
git config --global user.email mydefault@email.com
Comment

PREVIOUS NEXT
Code Example
Shell :: install steghide ubuntu 
Shell :: deploy stack cloudformation cli 
Shell :: vlc ubuntu 
Shell :: install minikube 
Shell :: install redis windows 10 
Shell :: nextcloud scan files 
Shell :: Kubectl get memory usage of pod 
Shell :: install get cli 
Shell :: get path ubuntu 
Shell :: update arch repo using reflector 
Shell :: hide desktop icons macos 
Shell :: video to gif 
Shell :: vim replace multiple lines 
Shell :: how to use xampp localhost 
Shell :: git bring your changes to a new branch 
Shell :: bash move file 
Shell :: install ruby on ubuntu 
Shell :: command not found: shopify 
Shell :: ufw add rule with comment 
Shell :: Reading state information... Done E: Unable to locate package docker-ce 
Shell :: install trading view on linux 
Shell :: add npm to $PATH ubuntu 
Shell :: github actions set ssh key 
Shell :: ubuntu upgrade certbot acme v2 
Shell :: gats gatsby-plugin-offline 
Shell :: search tag git 
Shell :: You need to have the Android SDK Build-tools installed on your system 
Shell :: set email and name which gets baked into the every git commit in the local config file found in ./.git/config 
Shell :: how to stash specific file in git with message 
Shell :: print in shell script 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =