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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

 so instead of command like this:
>
> $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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]