Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git setup

#view all settings
$ git config --list --show-origin 

#set global configurations for your git
$ git config --global user.name "John Doe"
$ git config --global user.email johndoe@example.com
git config --global init.defaultBranch main
Source by git-scm.com #
 
PREVIOUS NEXT
Tagged: #git #setup
ADD COMMENT
Topic
Name
7+8 =