How can I push to the nofib repository? I get this: simonpj@cam-05-unx:~/code/HEAD-4/nofib$ git push fatal: remote error: access denied or repository not exported: /nofib.git Thanks Simon
git remote -v origin git://git.haskell.org/nofib.git (fetch) origin git://git.haskell.org/nofib.git (push) simonpj@cam-05-unx:~/code/HEAD-4/nofib$ | -----Original Message----- | From: Ben Gamari [mailto:ben@smart-cactus.org] | Sent: 28 April 2017 14:08 | To: Simon Peyton Jones <simonpj@microsoft.com>; ghc-devs@haskell.org | Subject: Re: Pushing to nofib | | Simon Peyton Jones via ghc-devs <ghc-devs@haskell.org> writes: | | > How can I push to the nofib repository? I get this: | > | What does | | git remote -v | | say when run in the nofib/ directory? | | Cheers, | | - Ben
Simon Peyton Jones <simonpj@microsoft.com> writes:
git remote -v origin git://git.haskell.org/nofib.git (fetch) origin git://git.haskell.org/nofib.git (push) simonpj@cam-05-unx:~/code/HEAD-4/nofib$
Indeed that is the issue. git:// URLs are read-only. You'll need to add a new remote, git remote add upstream git@git.haskell.org:nofib Then you can push with, git push upstream Cheers, - Ben
participants (2)
-
Ben Gamari -
Simon Peyton Jones