Re: Automatic core.autocrlf?
- From
Andrei Rybak <rybak.a.v@gmail.com>
- Date
- Aug 27, 2018, 18:22 UTC
- Message-ID
- <293f37cc-3978-125a-25e1-0baef35420be@gmail.com>
- In-Reply-To
- <94afe154-53e1-761a-4a66-4f77188036f7@gmail.com>
On 2018-08-27 19:32, Andrei Rybak wrote:
Show 10 quoted lines
> > How about just using unconditional includes? > > global.gitconfig (synced across machines): > > [include] > path = platform-specific.gitconfig > > And two version of file named "platform-specific.gitconfig", which > are not synced, and include only code.autocrlf setting.
Robert, in this setup you might also want (just for convenience) to sync files "platform1.gitconfig" and "platform2.gitconfig", so that they are available everywhere for editing and can be copied into local version of platform-specific.gitconfig at any time.