Gentoo Archives: gentoo-science

From: Kacper Kowalik <xarthisius.kk@×××××.com>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] moving the science overlay to github?
Date: Sat, 25 Feb 2012 21:04:17
In Reply to: Re: [gentoo-science] moving the science overlay to github? by Kacper Kowalik
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://git@×××××××××××××××××××.org/proj/sci.git > pushurl = git@××××××.com:gentoo-science/sci.git
Correction to that ^^, you need both addresses to be in pushurl: pushurl = git@××××××.com:gentoo-science/sci.git pushurl = git+ssh://git@×××××××××××××××××××.org/proj/sci.git Cheers, Kacper


File name MIME type
signature.asc application/pgp-signature