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