https://about.gitlab.com/images/press/git-cheat-sheet.pdf
Levels at which we can configure these settings
Things we will cover will mainly for mac and llinux:
NOTE: change default branch to main
git config --global init.defaultBranch main
Name(for both win/mac)
git config --global [user.name](<http://user.name>) “*~~Your Name~~*”
Email(for both win/mac)
git config --global [user.email](<http://user.email>) “Your email”
Default Editor
git config --global core.editor "code --wait"
git config --global -e
Line Ending (Not crucial to teach)
git config --global core.autocrlf true
//Windowsgit config --global core.autocrlf input
//Mac/LinuxNow you can check your config settings:
Terminal window
git config --list
This will show you all the settings that you have changed.