Re: how to configure Git to treat certain type of ascii files as binary files
- From
David Symonds <dsymonds@gmail.com>
- Date
- Oct 22, 2008, 22:13 UTC
- Message-ID
- <ee77f5c20810221513td0b9620n4a7692dcc966e962@mail.gmail.com>
- In-Reply-To
- <65d12cb10810221458j14ef0009u679cdb0f73299d7f@mail.gmail.com>
On Wed, Oct 22, 2008 at 2:58 PM, Weiwei Shu <shuww1980@gmail.com> wrote:
Show 7 quoted lines
> My first post in this mailing list. Could some one direct me to some > document/manual pages to setup Git to treat ascii files as binary > files? I'm using Git to do circuit schematics (SPICE files) > versioning. I will not do any merging or editing stuff with external > editors. The only way to change it is to use schematic capture GUIs > (Cadence, ADS, etc). So I'd like to treat them as binary files to > reduce the possibilities of messing them up.
Git doesn't futz with your file contents unless you explicitly ask it to, such as the CRLF-munging stuff. By default, all files are "binary".
Dave.