Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Setup git on Linux

$ git config --global user.name <username> # eg git config --global user.name "Jane Doe"
$ git config --global user.email <email-address> # eg git config --global user.email "janeDoe@gmail.com"
$ git config --global core.editor "code --wait"
$ git config --global init.defaultBranch main
$ git config --global core.autocrlf input
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #Setup #git #Linux
ADD COMMENT
Topic
Name
3+2 =