this post was submitted on 13 Dec 2023
483 points (94.1% liked)

Programmer Humor

19932 readers
2398 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago* (last edited 1 year 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 1 year ago* (last edited 1 year ago) (1 children)
[–] [email protected] 1 points 1 year 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 1 year ago* (last edited 1 year 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 1 year 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 1 year ago

I'll try that, thanks

[–] aBundleOfFerrets 1 points 1 year ago

key identification