0

When comparing, GitHub highlight everything as if I changed completely the code. Is this normal? http://puu.sh/sRRdy/4ad7599721.png

Mena12
  • 13
  • 5

1 Answers1

0

You can first confirm this is an eol issue locally, with your git showing eol diffrences.

git config color.diff.whitespace "red reverse"
git diff -R

If so:

  • make sure git does not change anything for you

    git config --global core.autocrlf false, 
    
  • Configure your IDE to use the proper eol style

  • clone again your repo and go on from there.
Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250