Re: git adds some text file as binary file by mistake
- From
- Bruce Stephens <bruce.stephens@isode.com>
- Date
- Oct 24, 2008, 13:34 UTC
- Message-ID
- <80tzb2xgk5.fsf@tiny.isode.net>
- In-Reply-To
- <46dff0320810240630s5cbfa62esd10a9da45ce37bf8@mail.gmail.com>
"Ping Yin" <pkufranky@gmail.com> writes:
[...]
> I'm just ask this problem in general sense. So is there a general way > to specify whether a file is text or binary?
Yes: gitattributes(5).