490
you are viewing a single comment's thread
view the rest of the comments
[-] Juice@hexbear.net 3 points 10 months ago* (last edited 10 months ago)

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

[-] usa_suxxx@hexbear.net 4 points 10 months ago* (last edited 10 months ago)
[-] Juice@hexbear.net 1 points 10 months ago

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

[-] usa_suxxx@hexbear.net 8 points 10 months ago* (last edited 10 months ago)

HTTPS

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

SSH

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

Did you use the correct syntax for SSH?

[-] stepanzak@iusearchlinux.fyi 2 points 10 months ago

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.

[-] Juice@hexbear.net 2 points 10 months ago

I'll try that, thanks

[-] aBundleOfFerrets@sh.itjust.works 1 points 10 months ago

key identification

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

Programmer Humor

19331 readers
92 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