Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why git decide that my file is binary

Tags:

git

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 
like image 346
ceth Avatar asked Dec 22 '11 07:12

ceth


1 Answers

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.

like image 191
Chris Eberle Avatar answered Sep 20 '22 12:09

Chris Eberle