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

Jeff Mitchell mitchell at kde.org
Thu Jun 17 12:46:48 CEST 2010


On 06/16/2010 08:42 AM, Thiago Macieira wrote:
> 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.

Not quite true -- the other advantage is that, if we have the clone on
the cgit/redmine server pulling all personal branches, it can show those
personal branches in the code browsers.

--Jeff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-scm-interest/attachments/20100617/9f66984b/attachment.sig 


More information about the Kde-scm-interest mailing list