On 25.02.2012 20:38, Kacper Kowalik wrote:
> On 25.02.2012 13:52, Kacper Kowalik wrote:
>> On 19.02.2012 15:07, Kacper Kowalik wrote:
>>> account on github and will try to work on mutual sync. When the latter
>>> is finished we can get things going. I'll keep you posted.
>>
>> It seems it's not possible to keep two writable git repos in sync in an
>> automated fashion. All solution I came up with/googled require at least
>> one repo to be read-only. Can anyone prove me wrong?
> 
> Ok, there's nice solution to the problem, as suggested by wired on
> g-dev[1], we should just push two both overlays at once. It requires
> manual tweaking of .git/config in your repo:
> 
> [remote "origin"]
>    fetch = +refs/heads/*:refs/remotes/origin/*
>    url = git+ssh://[email protected]/proj/sci.git
>    pushurl = [email protected]:gentoo-science/sci.git

Correction to that ^^, you need both addresses to be in pushurl:

   pushurl = [email protected]:gentoo-science/sci.git
   pushurl = git+ssh://[email protected]/proj/sci.git

Cheers,
Kacper

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to