Pushing changes to numpy git repo problem

Hi,
I have followed Development workflow instructions in
http://docs.scipy.org/doc/numpy/dev/gitwash/
but I am having a problem with the last step:
$ git push upstream ticket1679:master fatal: remote error: You can't push to git://github.com/numpy/numpy.git Use git@github.com:numpy/numpy.git
What I am doing wrong?
Here's some additional info: $ git remote -v show origin git@github.com:pearu/numpy.git (fetch) origin git@github.com:pearu/numpy.git (push) upstream git://github.com/numpy/numpy.git (fetch) upstream git://github.com/numpy/numpy.git (push) $ git branch -a master * ticket1679 remotes/origin/HEAD -> origin/master remotes/origin/maintenance/1.0.3.x remotes/origin/maintenance/1.1.x remotes/origin/maintenance/1.2.x remotes/origin/maintenance/1.3.x remotes/origin/maintenance/1.4.x remotes/origin/maintenance/1.5.x remotes/origin/master remotes/origin/ticket1679 remotes/upstream/maintenance/1.0.3.x remotes/upstream/maintenance/1.1.x remotes/upstream/maintenance/1.2.x remotes/upstream/maintenance/1.3.x remotes/upstream/maintenance/1.4.x remotes/upstream/maintenance/1.5.x remotes/upstream/master
Thanks, Pearu

On Thu, Dec 2, 2010 at 12:52 PM, Pearu Peterson pearu.peterson@gmail.com wrote:
What I am doing wrong?
Here's some additional info: $ git remote -v show origin git@github.com:pearu/numpy.git (fetch) origin git@github.com:pearu/numpy.git (push) upstream git://github.com/numpy/numpy.git (fetch) upstream git://github.com/numpy/numpy.git (push)
The git:// protocol is read-only, for write access you need ssh access. Just edit your /path-to-repo/.git/config file and change the
git://github.com/numpy/numpy.git
lines for
git@github.com:numpy/numpy.git
in the upstream description. That should be sufficient.
Regards,
f

On Thu, Dec 2, 2010 at 1:52 PM, Pearu Peterson pearu.peterson@gmail.comwrote:
Hi,
I have followed Development workflow instructions in
http://docs.scipy.org/doc/numpy/dev/gitwash/
but I am having a problem with the last step:
$ git push upstream ticket1679:master fatal: remote error: You can't push to git://github.com/numpy/numpy.git Use git@github.com:numpy/numpy.git
Do what the message says, the first address is readonly. You can change the settings in .git/config, mine looks like
[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = git@github.com:charris/numpy [branch "master"] remote = origin merge = refs/heads/master [remote "upstream"] url = git@github.com:numpy/numpy fetch = +refs/heads/*:refs/remotes/upstream/* [alias] mb = merge --no-ff
Where upstream is the numpy repository.
Chuck

Thanks! Pearu
On Thu, Dec 2, 2010 at 11:08 PM, Charles R Harris charlesr.harris@gmail.com wrote:
On Thu, Dec 2, 2010 at 1:52 PM, Pearu Peterson pearu.peterson@gmail.com wrote:
Hi,
I have followed Development workflow instructions in
http://docs.scipy.org/doc/numpy/dev/gitwash/
but I am having a problem with the last step:
$ git push upstream ticket1679:master fatal: remote error: You can't push to git://github.com/numpy/numpy.git Use git@github.com:numpy/numpy.git
Do what the message says, the first address is readonly. You can change the settings in .git/config, mine looks like
[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = git@github.com:charris/numpy [branch "master"] remote = origin merge = refs/heads/master [remote "upstream"] url = git@github.com:numpy/numpy fetch = +refs/heads/*:refs/remotes/upstream/* [alias] mb = merge --no-ff
Where upstream is the numpy repository.
Chuck
NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
participants (3)
-
Charles R Harris
-
Fernando Perez
-
Pearu Peterson