Re: Proposal: sharing .git/config
- From
Adam Spiers <git@adamspiers.org>
- Date
- Feb 19, 2013, 14:38 UTC
- Message-ID
- <CAOkDyE-at6jJZGV-3H4jEZhAsid41oqcQtEmad+5rwRhYiFUpQ@mail.gmail.com>
- In-Reply-To
- <CALkWK0npW6TLdMNd5_zw-RAB0bjF9DDoyAVSx4Zx=7AmvdEo3w@mail.gmail.com>
On Tue, Feb 19, 2013 at 9:25 AM, Ramkumar Ramachandra <artagnon@gmail.com> wrote:
Show 9 quoted lines
> Hi, > > I have this itch where I want to share my remotes config between > machines. In my fork, I should be able to specify where my upstream > sources are, so remotes get set up automatically when I clone. There > are also other things in .git/config that would be nice to share, like > whether to do a --word-diff (why isn't it a configuration variable > yet?) on the repository. The only problem is that I have no clue how > to implement this: I'm currently thinking a special remote ref?
I handle these kinds of configuration tasks out of band using mr, and it works pretty well:
https://github.com/aspiers/mr-config/#readme https://github.com/aspiers/mr-config/blob/master/sh.d/git-remotes
Food for thought ...