this post was submitted on 13 Dec 2023
491 points (94.2% liked)

Programmer Humor

19488 readers
795 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 11 months ago* (last edited 11 months ago) (4 children)

Uh how do i get GH cli to work on Linux? I tried pushing a project and it just asks for a password, and PW support is deprecated

[–] [email protected] 4 points 11 months ago* (last edited 11 months ago) (1 children)
[–] [email protected] 1 points 11 months ago (1 children)

No luck, i tried that and https login and it still asks for a PW when I push

[–] [email protected] 8 points 11 months ago* (last edited 11 months ago)

HTTPS

git remote add origin https://github.com/user/repo.git

SSH

git remote add origin [email protected]:user/repo.git

Did you use the correct syntax for SSH?

[–] [email protected] 2 points 11 months ago (1 children)

I'm not sure about the exact commands, but you do something like gh auth login to authenticate the CLI and then something like gh ssh setup to change ssh's config file to authorize using the GH CLI.

[–] [email protected] 2 points 11 months ago

I'll try that, thanks

[–] [email protected] 1 points 11 months ago

key identification