Git Clone Failed #113

Closed
opened 2023-09-16 23:43:24 +00:00 by ejektaflex · 3 comments

Following the instructions on the README.md, it says to do this:

git clone git@git.handmade.network:hmn/orca.git

This failed for me after connecting:
image

Using https://git.handmade.network/hmn/orca.git instead did work.

Following the instructions on the README.md, it says to do this: ``` git clone git@git.handmade.network:hmn/orca.git ``` This failed for me after connecting: ![image](/attachments/115a8d00-1371-405f-a794-dc0ddfe246d0) Using `https://git.handmade.network/hmn/orca.git` instead did work.
7.3 KiB
Owner

Weird, I'd expect SSH to work with public repos. I'll have to look into that.

Weird, I'd expect SSH to work with public repos. I'll have to look into that.
Owner
Note to self: https://docs.gitea.com/help/faq#ssh-common-errors
Owner

Ok, I guess it's simply that SSH access isn't allowed unless you add your public key to your Gitea profile. Obviously for the vast majority of our users this is not relevant. (This is the same as GitHub, it turns out, I just didn't realize because I've had a public key on my profile for so long.)

I will update the docs to use the HTTPS URL instead.

Ok, I guess it's simply that SSH access isn't allowed unless you add your public key to your Gitea profile. Obviously for the vast majority of our users this is not relevant. (This is the [same as GitHub](https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-ssh-urls), it turns out, I just didn't realize because I've had a public key on my profile for so long.) I will update the docs to use the HTTPS URL instead.
bvisness self-assigned this 2023-09-17 15:45:31 +00:00
Sign in to join this conversation.
No Label
macOS
windows
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hmn/orca#113
No description provided.