[Kde-scm-interest] Gitolite server-side clones and personal branches

Thiago Macieira thiago at kde.org
Wed Jun 16 14:42:37 CEST 2010


Em Quarta-feira 16 Junho 2010, às 14:17:58, Johannes Sixt escreveu:
> But you can place such branches in a new ref namespace on the server:
> refs/personal/myname/mybranch (as opposed to refs/heads/personal/....).
> Such refs are hidden from regular clone/fetch/pull, but you can still
> access them using
> 
>   git pull origin personal/myname/mybranch
> 
> Users who regularly exchange topics in this way can write them down in the
> config file:
> 
>    fetch = +refs/personal/hausmann/*:refs/remotes/origin/hausmann/*
> 
> To push such a branch for the first time is not straight-forward, though:
> 
>    git push origin my-topic:refs/personal/hausmann/my-topic
> 
> and I don't know whether cgit and redmine can show or work with such refs,
> and any cleanup is still not automatic ;)

That's no different than a separate repo.

The advantage is automatic sharing of objects in gc.
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-scm-interest/attachments/20100616/75bd7b6d/attachment.sig 


More information about the Kde-scm-interest mailing list