Re: ~/.git/config ?
- From
Horst von Brand <vonbrand@inf.utfsm.cl>
- Date
- May 27, 2006, 12:52 UTC
- Message-ID
- <200605271252.k4RCqZhR003192@laptop11.inf.utfsm.cl>
- In-Reply-To
- <torvalds@osdl.org>
Linus Torvalds <torvalds@osdl.org> wrote:
Show 5 quoted lines
> On Sat, 27 May 2006, Petr Baudis wrote: > > > > ~/.gitrc might get useful for actually doing what ~/.cvsrc or ~/.cgrc > > does, that is providing default options for git commands. ~/.gitconfig > > would just give you per-user defaults for the repository config file.
Yep.
[...]
Show 5 quoted lines
> So they would do "alias cvs git" in a desperate attempt to save themselves > from CVS, and then add > > [alias "co"] > cmd = commit -a
I don't like this syntax. What other stuff (beside "cmd") would be under "[alias "co"]? Why not simply:
[alias] co = commit -a publish = push public.site.com:/pub/scm/my-public-repo
-- Dr. Horst H. von Brand User #22616 counter.li.org Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513