Fork me on GitHub
#off-topic
<
2021-07-13
>
didibus08:07:33

Oh, seems openSuse Tumbleweed has latest version of Clojure as part of its package manager, neat

🦎 2
zendevil11:07:50

AFAIK this has never happened before but: I just created a private github repo to push my local git repo to, but upon pushing and entering the password, I’m getting:

remote: Repository not found.
fatal: repository '' not found
pushing with
git push origin creations
How to fix this?

souenzzo12:07:18

@ps you wrongly did a git remote add origin (with a / in the end) you should git remote remove origin then git remote add

souenzzo12:07:08

also, I strongly recommend to use git over ssh, not over https, but i know that in some OS's it may be way more complex. EDIT: github recommends https https://docs.github.com/en/get-started/quickstart/set-up-git#connecting-over-https-recommended

souenzzo12:07:16

@ps I just see that official github docs recommends https over ssh. Have no idea why. But I will "remove" my recommendation https://docs.github.com/en/get-started/quickstart/set-up-git#connecting-over-https-recommended

souenzzo12:07:18

sorry for the misleading

zendevil12:07:27

yes I did git remote add origin https://github.com/zendevil/humboi.git but it still gives the same error (with the /)

zendevil12:07:41

and with ssh it gives:

[email protected] humboi % git remote add origin [email protected]:zendevil/humboi.git
[email protected] humboi % git push -u origin master
The authenticity of host ' (13.234.176.102)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added ',13.234.176.102' (RSA) to the list of known hosts.
: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
[email protected] humboi % 

zendevil12:07:09

too complicated for something I’ve always done simply

lispyclouds12:07:45

> <mailto:[email protected]|[email protected]>: Permission denied (publickey). @ps have you added your SSH public key in github?

lispyclouds12:07:31

it is a private repo

zendevil12:07:24

@rahul080327 @delaguardo I never had to mess with ssh before while pushing to private repos?

delaguardo12:07:47

I’m doing it constantly ) My list to check: • ssh-agent running and my key is added ssh-add -l • change remote url from using https to ssh git remote set-url origin <[email protected]…> • check if the server knows about my key

zendevil12:07:55

okay I bit the bullet and did these steps and it works

lispyclouds12:07:05

looks like thats could be the issue

zendevil20:07:25

I have travis ci connected to my github, and when I’m pushing the code to my repo, the new push isn’t being built by travis ci, and there are no new requests in the “request” menu either?