From: Horst von Brand Date: Sat, 27 May 2006 12:52:35 GMT Subject: Re: ~/.git/config ? Message-ID: <200605271252.k4RCqZhR003192@laptop11.inf.utfsm.cl> In-Reply-To: Linus Torvalds wrote: > 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. [...] > 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