From: Bruce Stephens Date: Fri, 24 Oct 2008 13:34:34 GMT Subject: Re: git adds some text file as binary file by mistake Message-ID: <80tzb2xgk5.fsf@tiny.isode.net> In-Reply-To: <46dff0320810240630s5cbfa62esd10a9da45ce37bf8@mail.gmail.com> "Ping Yin" 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).