GitHub's ass

GitHub is not giving me way to init repo of TWRP. It’s a public repository. Here’s what it says:

Downloading manifest from git@github.com:minimal-manifest-twrp/platform_manifest_twrp_aosp.git git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. manifests: sleeping 4.0 seconds before retrying git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

I’m so fucking blessed.

I tried forking it, but no luck at all, GitHub doesn’t want to give me way even in my own profile.

Thoughts about it?

@peeonyou
link
fedilink
10
edit-2
3M

Seems like your ssh key is not set up right… not really github’s fault.

@obbeel
creator
link
fedilink
23M

I used GitHub before, never needed a SSH key. Did some repo inits yesterday, as it is, and things went really smoothly for me.

But, you know, setting up a SSH key isn’t really that easy. I’ll see if I can do something about it, however.

@ksynwa
link
fedilink
63M

If you don’t want to use your SSH key, you’ll have to change your remote URL from git@github.com:minimal-manifest-twrp/platform_manifest_twrp_aosp.git to https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git

Then you’ll have to use a personal access token I think.

@obbeel
creator
link
fedilink
13M

That worked. Still were using SSH to do it before though.

The git urls are always ssh and always require authentication. The https urls don’t require authentication (if the repo is public)

Not exactly an answer to your question (sorry), but perhaps it’s a good reason to consider GitLab instead.

@Zerush
link
fedilink
63M

There are also a lot of other alternatives https://alternativeto.net/software/github/

I prefer codeberg, but gitlab is also cool.

Absolutely. Anything but Microsoft GitHub.

Codeberg is at: https://codeberg.org/

@obbeel
creator
link
fedilink
33M

Yes, I found OrangeFox at GitLab - I guess we have TWRP at home, just like Mom says.

Even though they publicly stated they’ll remove the git:// protocol, you should still be able to use it to check out stuff read-only.

bruhbeans
link
fedilink
43M

They didn’t remove git://. They deprecated and removed old insecure keys, and disabled unencrypted git operations. The mention of git:// in that post only means if you use a git:// endpoint, you may need to update your configuration.

Ah right, I must have recollected that wrongly. Thank you for the clarification.

@Zerush
link
fedilink
33M

Micro$oft stuff I guess

I dunno man, works for me

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

  • Posts must be relevant to the open source ideology
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

  • 0 users online
  • 7 users / day
  • 38 users / week
  • 115 users / month
  • 410 users / 6 months
  • 5.36K subscribers
  • 1.36K Posts
  • 4.9K Comments
  • Modlog