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@git.overlays.gentoo.org/proj/sci.git > pushurl = git@github.com:gentoo-science/sci.git Correction to that ^^, you need both addresses to be in pushurl: pushurl = git@github.com:gentoo-science/sci.git pushurl = git+ssh://git@git.overlays.gentoo.org/proj/sci.git Cheers, Kacper