From: Jakub Narebski Date: Wed, 20 Feb 2008 19:44:53 GMT Subject: Re: [PATCH 2/2] Add support for host aliases in config files Message-ID: <200802202044.54987.jnareb@gmail.com> In-Reply-To: Johannes Schindelin wrotr: > I just tried this: > > $ git config rewrite."master.kernel.org:/pub".url \ > git://git.kernel.org/pub/ > > and it worked. IOW, the config will look like this: > > [rewrite "master.kernel.org:/pub"] > url = git://git.kernel.org/pub/ > > So maybe this is easier to grasp? Perhaps that it is easier to grasp, but imho it is backwards, as it is inherently 1 -> 1 in -> , while I think it is more common to have n -> 1, i.e. multiple URLs (aliases), multiple alternative "spellings" with one tried way to access repository. -- Jakub Narebski Poland