threads / discuss / 20131

about crlf file-encodings and other options

Subject: about crlf file-encodings and other options

## tl;dr

2 messages between Jul 16, 2009 and Jul 16, 2009.

replies: 1people: 2as markdown or json

Rustom Mody· Jul 16, 2009, 13:51 UTC · lore

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· Jul 16, 2009, 15:49 UTC · re: Rustom Mody · lore

Re: about crlf file-encodings and other options

On Thu, Jul 16, 2009 at 9:51 AM, Rustom Mody wrote:
Show 7 quoted lines
> 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.

Show 10 quoted lines
> 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

← back to recent threads