you can also establish settings per filetype. For example,

# These files are text and should be normalized (convert crlf => lf)
*.cs      text diff=csharp
*.xaml    text
*.csproj  text
*.sln     text
*.tt      text
*.ps1     text
*.cmd     text
*.msbuild text
*.md      text

# Images should be treated as binary
# (binary is a macro for -text -diff)
*.png     binary
*.jpeg    binary

*.sdf     binary



On Sat, Sep 15, 2012 at 2:41 AM, Patrick <pn1.d...@gmail.com> wrote:

> I have 3 different gitconfigs for use with Windows, Linux, and Cygwin.
>  Although Linux and Cygwin are the same in the CRLF area there are other
> areas  that I need it to be different.
>
> ---Windows---
> [core]
> autocrlf = true
> safecrlf = false
> ---Linux and Cygwin---
> [core]
> autocrlf = input
> safecrlf = false
>
> On Thursday, September 13, 2012 6:42:42 AM UTC-7, fpefpe wrote:
>
>> Thanks for the info ... In general I want to save my work, which us usual
>> windows
>> code.
>>
>> It seems from the install, that there is a mini cygwin layer so if that
>> is the case I would
>> just use  git from within cygwin and set those config sections as noted
>>
>> thanks
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/git-users/-/9IcTL2f-RTkJ.
>
> To post to this group, send email to git-users@googlegroups.com.
> To unsubscribe from this group, send email to
> git-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/git-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to