Re: git adds some text file as binary file by mistake
- From
Michael J Gruber <git@drmicha.warpmail.net>
- Date
- Oct 24, 2008, 12:54 UTC
- Message-ID
- <4901C58D.4010309@drmicha.warpmail.net>
- In-Reply-To
- <46dff0320810240537i4f0d86b9p56def9ef6a69c180@mail.gmail.com>
Ping Yin venit, vidit, dixit 24.10.2008 14:37:
> So what should i do if i want it added as text file?
You should give us more detail on the file ;) What's the extension, what's the typical content? It may be a simple matter of specifying attributes. Do ordinary diff and grep recognize your files as text?
Michael