1 |
On 25.02.2012 20:38, Kacper Kowalik wrote: |
2 |
> On 25.02.2012 13:52, Kacper Kowalik wrote: |
3 |
>> On 19.02.2012 15:07, Kacper Kowalik wrote: |
4 |
>>> account on github and will try to work on mutual sync. When the latter |
5 |
>>> is finished we can get things going. I'll keep you posted. |
6 |
>> |
7 |
>> It seems it's not possible to keep two writable git repos in sync in an |
8 |
>> automated fashion. All solution I came up with/googled require at least |
9 |
>> one repo to be read-only. Can anyone prove me wrong? |
10 |
> |
11 |
> Ok, there's nice solution to the problem, as suggested by wired on |
12 |
> g-dev[1], we should just push two both overlays at once. It requires |
13 |
> manual tweaking of .git/config in your repo: |
14 |
> |
15 |
> [remote "origin"] |
16 |
> fetch = +refs/heads/*:refs/remotes/origin/* |
17 |
> url = git+ssh://git@×××××××××××××××××××.org/proj/sci.git |
18 |
> pushurl = git@××××××.com:gentoo-science/sci.git |
19 |
|
20 |
Correction to that ^^, you need both addresses to be in pushurl: |
21 |
|
22 |
pushurl = git@××××××.com:gentoo-science/sci.git |
23 |
pushurl = git+ssh://git@×××××××××××××××××××.org/proj/sci.git |
24 |
|
25 |
Cheers, |
26 |
Kacper |