3

I'm using Visual Studio 2017 and I'm trying to get my project to work with GitHub. No matter what I do, .cpp file-changes wont show as diff because "Binary files are not shown".

I've tried editing .gitattributes file with *.cpp text without luck. I've checked and the .vcxproj is set to save in UTF-8. I've also tried specifying eol=lf but it seems like nothing works. Please help!

user1768788
  • 1,265
  • 1
  • 10
  • 29

1 Answers1

-1

There might be .gitignore file and there may be *.cpp which ignore for change on .cpp file.

manoj
  • 5,235
  • 7
  • 24
  • 45
  • No, git shows there is a difference, it just doesn't show diff because it treats the files as binary. – phd Jan 27 '18 at 12:59