[Numpy-discussion] Pushing changes to numpy git repo problem

Charles R Harris charlesr.harris at gmail.com
Thu Dec 2 16:08:10 EST 2010


On Thu, Dec 2, 2010 at 1:52 PM, Pearu Peterson <pearu.peterson at 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 at 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 at github.com:charris/numpy
[branch "master"]
        remote = origin
        merge = refs/heads/master
[remote "upstream"]
        url = git at github.com:numpy/numpy
        fetch = +refs/heads/*:refs/remotes/upstream/*
[alias]
        mb = merge --no-ff

Where upstream is the numpy repository.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20101202/3b942116/attachment.html>


More information about the NumPy-Discussion mailing list