git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Aliasing with parameters doesn't seem to work properly in git 1.7.0.5

From
SBSanti Béjar <santi@agolina.net>
Date
Jun 3, 2010, 15:04 UTC
Message-ID
<AANLkTilcESWIptCX3ZIVTrdI9JcC4XrHp9KTjR-jqzj7@mail.gmail.com>
In-Reply-To
<AANLkTilEZknW7m0n3y8SX5oAaZiUTorgqfX3jTB8mnDC@mail.gmail.com>

On Thu, Jun 3, 2010 at 4:52 PM, Eugene Sajine <euguess@gmail.com> wrote: [...]

 so instead of command like this:
Show 9 quoted lines
>
> $git clone git://server/folder/repo.git
>
> i can have something like this:
>
> $git cln folder/repo.git
>
> or even
> $git cln folder/repo
Then, you can the url.<url>.insteadof mechanism:
[url "<actual url base>"]
      insteadOf = <other url base>
       For example, with this:
[url "git://git.host.xz/"]
      insteadOf = work:
you can clone it with: git clone work:project.
See git-clone and/or git-config man page for more information.

HTH, Santi

Previous: Eugene Sajine
Message 4 of 4 in “Aliasing with parameters doesn't seem to work properly in git 1.7.0.5”
  1. Eugene SajineJun 3, 2010
  2. Jacob HelwigJun 3, 2010
  3. Eugene SajineJun 3, 2010
  4. Santi BéjarJun 3, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.