6

I have added plain text file to the repository and git decided that it is a binary file. Here is my file (link) and github show it as plain text file.

But if I try to look at changes which have been made by last commit I see the message

Binary file not shown 
ceth
  • 44,198
  • 62
  • 180
  • 289

2 Answers2

7

From cloning your repo, I see that the file in question is UTF-16. I don't believe git supports this as a text format. See this link for more info.

Community
  • 1
  • 1
Chris Eberle
  • 47,994
  • 12
  • 82
  • 119
2

It is encoded in UTF-16. Try changing the encoding to ASCII or UTF-8 and commit and push.

manojlds
  • 290,304
  • 63
  • 469
  • 417