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: https://git-scm.com/
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: https://www.git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#_core_autocrlf
Configure Git with your name and email: https://linuxize.com/post/how-to-configure-git-username-and-email/
--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.