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
  • 42,340
  • 57
  • 170
  • 277

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
  • 46,695
  • 12
  • 79
  • 117
2

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

manojlds
  • 275,671
  • 58
  • 453
  • 409