On Thu, Jan 28, 2010 at 4:17 PM, Ian Monroe <[email protected]> wrote:
> On Thu, Jan 28, 2010 at 9:10 AM, Matt Williams <[email protected]> wrote:
>> One of the oft-quoted selling points of git is the separation of
>> backend and porcelain and so a kde-specific git command to provide
>> functionality similar to the bazaar 'lp:' type meta-URLs could be
>> useful. To do something like:
>>
>> git clone kde:kdelibs # or
>> git kdeclone kdelibs
>>
>> which, inside its workings could contain/lookup the official KDE
>> module dependencies/relationships.
>
> That would be pretty cool :)
You can use the url.<base>.insteadOf config.
If you have this in ~/.gitconfig:
[url "git://gitorious.org/kde/"]
insteadOf = kde:
git clone kde:kdelibs.git
is equivalent to
git clone git://gitorious.org/kde/kdelibs.git
You can even remove the suffix .git as git adds it if necessary. So at
the end you could clone kdelibs with just:
git clone kde:kdelibs
HTH,
Santi
_______________________________________________
Kde-scm-interest mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-scm-interest