Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

check git settings terminal

-- set the default branch to main
 git config --global init.defaultBranch main
 
-- check the git settings on terminal
$ git config --list
user.name=John Doe
user.email=johndoe@example.com
color.status=auto
color.branch=auto
color.interactive=auto
color.diff=auto
 
PREVIOUS NEXT
Tagged: #check #git #settings #terminal
ADD COMMENT
Topic
Name
2+6 =