[Kde-scm-interest] JhBuild
Santi Béjar
sbejar at gmail.com
Fri Jan 29 00:52:41 CET 2010
On Thu, Jan 28, 2010 at 4:17 PM, Ian Monroe <ian.monroe at gmail.com> wrote:
> On Thu, Jan 28, 2010 at 9:10 AM, Matt Williams <lists at milliams.com> 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
More information about the Kde-scm-interest
mailing list