Skip to content
Prev 11964 / 21312 Next

[Bioc-devel] EXTERNAL: Re: Cannot move 'xps' to GIT

Dear Turaga,

As you suggested, I did:

$ git remote set-url origin git at github.com:cstrato/xps.git
$ git remote -v
origin  git at github.com:cstrato/xps.git (fetch)
origin  git at github.com:cstrato/xps.git (push)
upstream        git at git.bioconductor.org:packages/xps.git (fetch)
upstream        git at git.bioconductor.org:packages/xps.git (push)

However, now I can no longer do:

$ git push origin master
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


My repository https://github.com/cstrato/xps is still empty.


Do you know what the problem might be?

Could it be that the 'git/svn transition: ssh keys' form did not accept 
my SSH public key?

Or could it be that I am running Firefox in 'private browsing' mode 
(although cookies are activated)?

To test this I have just turned off the 'private browsing' mode and 
resubmitted my SSH public key to 'git/svn transition: ssh keys'. The 
form now displays:
Thanks for providing your ssh key; access should be enabled in 1 
business day.

Now the reply email from the Google form does indeed display my correct 
ssh key.

Maybe, you should mention in the 'howto' that the private browsing mode 
need to be turned off, too, in addition to the need to allow cookies. 
(Firefox 56.0 does allow to activate cookies even when in private 
browsing mode!)


BTW, I tried to follow 'bioconductor.org/developers/how-to/git/'. It 
contains 12 links to other sites, and sometimes it is not clear to me 
how to proceed further.

Now I have checked it once again, but for some reason I did not find the 
command 'git remote set-url origin ...' that you suggested on any of the 
12 links.
Maybe I missed it?

Regards,
Christian
On 10/13/17 20:12, Turaga, Nitesh wrote: