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.
Comment on GitHub Desktop or Git CLI?
Juice@hexbear.net 1 year ago
Uh how do i get this to work on Linux? I tried pushing a project and it just asks for a password, and PW support is deprecated
stepanzak@iusearchlinux.fyi 1 year ago
Juice@hexbear.net 1 year ago
I’ll try that, thanks
Gambled23@sh.itjust.works 1 year ago
Use ssh authentication instead
aBundleOfFerrets@sh.itjust.works 1 year ago
key identification
usa_suxxx@hexbear.net 1 year ago
docs.github.com/…/connecting-to-github-with-ssh
Connect an SSH key and use that.
Juice@hexbear.net 1 year ago
No luck, i tried that and https login and it still asks for a PW when I push
usa_suxxx@hexbear.net 1 year 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?