aboutsummaryrefslogtreecommitdiff
blob: 634aa56f523a00af7a828f689afc33f74c5f4ba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<h3>Configuring your <em>git clone</em> localy</h3>
<p>Make sure that your <em>.git/config</em> has the following settings:</p>
<pre><code>[remote "origin"]
    fetch = +refs/heads/*:refs/remotes/origin/*
    url = git+ssh://git@git.overlays.gentoo.org/proj/python.git
    pushurl = git@github.com:gentoo/python.git
    pushurl = git+ssh://git@git.overlays.gentoo.org/proj/python.git
[remote "github"]
    url = git@github.com:gentoo/python.git
    fetch = +refs/heads/*:refs/remotes/github/*
</code></pre>
<p>You can pull/push to both repos at once using <em>--all</em> switch.</p>