From: Junio C Hamano Date: Sun, 22 Nov 2009 01:24:38 GMT Subject: Re: Per file configurable eol-style transformations with Git? Message-ID: <7v6393nyg9.fsf@alter.siamese.dyndns.org> In-Reply-To: <1050CAACABF64864A0CF79C957BF773B@helium> "Alexander Veit" writes: > Jakub Narebski wrote: > >> See `crlf` attribute, which can be set, unset, unspecified, set >> to "input", and used together with core.autocrlf ("true", "false", >> "input") and core.safecrlf. Attributes can be set per path (using >> globbing patterns) in .gitattributes file in tree, or in >> .git/info/attributes (per repository). > > I've already tried > > [core] > autoCRLF = true > > in the global gitconfig under Windows. That would not be per-file anyway. What Jakub suggested makes sense. You want to read up on gitattributes(5).