...
Ensure core.autocrlf
is set to true
or input
. Line endings on GitHub are LF only, not CRLF!
Check:
git config --get core.autocrlf
Set:
git config --global core.autocrlf [setting]
--global
is optional, replace[setting]
with the desired setting
Additional information here: https://www.git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#_core_autocrlf
Instructions
Make sure anything on the current branch has been saved, either through commit or stash.
...