# about crlf file-encodings and other options

2 messages from 2009-07-16 to 2009-07-16. Participants: Rustom Mody, Peter Harris.
Thread: https://gitlist.dev/t/20131

## Rustom Mody, 2009-07-16 13:51

Subject: about crlf file-encodings and other options
Message-ID: <f46c52560907160651u1cdc1779r511d227fa5c88956@mail.gmail.com>
URL: https://gitlist.dev/e/f46c52560907160651u1cdc1779r511d227fa5c88956%40mail.gmail.com

```
I am trying to figure out the best choices regarding file-encodings,
crlf choices etc.
I see some stuff in gitattributes and some in git-config.

So...
1. Is there some place I can find out whats the received wisdom
regarding crlf and file encoding choices
2. is there some one place where all the options for all the git
commands are listed?

For example I find in git-config the following

[branch "devel"]
        remote = origin
        merge = refs/heads/devel

Where does one find out about such options?

```

## Peter Harris, 2009-07-16 15:49

Subject: Re: about crlf file-encodings and other options
Message-ID: <eaa105840907160849k7403feffnc3b834e94a33643d@mail.gmail.com>
URL: https://gitlist.dev/e/eaa105840907160849k7403feffnc3b834e94a33643d%40mail.gmail.com
In-Reply-To: <f46c52560907160651u1cdc1779r511d227fa5c88956@mail.gmail.com>

```
On Thu, Jul 16, 2009 at 9:51 AM, Rustom Mody wrote:
> I am trying to figure out the best choices regarding file-encodings,
> crlf choices etc.
> I see some stuff in gitattributes and some in git-config.
>
> So...
> 1. Is there some place I can find out whats the received wisdom
> regarding crlf and file encoding choices

This comes down to personal taste. I actually set core.autocrlf
differently for different projects.

> 2. is there some one place where all the options for all the git
> commands are listed?
>
> For example I find in git-config the following
>
> [branch "devel"]
>        remote = origin
>        merge = refs/heads/devel
>
> Where does one find out about such options?

"git help config" (those particular ones are under
branch.<name>.remote and branch.<name>.merge).

Peter Harris

```
