Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Setup git on windows

$ 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 true
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #Setup #git #windows
ADD COMMENT
Topic
Name
8+3 =