Git setup
If you have already setup Git, you do not need to set it up again.
If you haven’t already, download and install Git: Git
Git should already be installed on Linux and MacOS.
Windows (Linux and MacOS users skip step): Set line endings.
Check:
git config --get core.autocrlf
If it is
true
orinput
, you do not need to set anything.
Set:
git config --global core.autocrlf [setting]
.--global
is optional, and replace[setting]
with eithertrue
orinput
When in doubt, use
input
Additional information here: Git - Git Configuration
Configure Git with your name and email: How to Configure Git Username and Email Address
--global
if you want to use it as the default, otherwise it will just be for the current repository.You can use your anonymous GitHub no-reply email.