hypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish · 9 months agoGitHub Desktop or Git CLI?programming.devimagemessage-square161fedilinkarrow-up1514arrow-down132
arrow-up1482arrow-down1imageGitHub Desktop or Git CLI?programming.devhypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish · 9 months agomessage-square161fedilink
minus-squareJuice [none/use name]@hexbear.netlinkfedilinkEnglisharrow-up3·edit-29 months agoUh 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
minus-squareusa_suxxx [they/them]@hexbear.netlinkfedilinkEnglisharrow-up4·edit-29 months agohttps://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account Connect an SSH key and use that.
minus-squareJuice [none/use name]@hexbear.netlinkfedilinkEnglisharrow-up1·9 months agoNo luck, i tried that and https login and it still asks for a PW when I push
minus-squareusa_suxxx [they/them]@hexbear.netlinkfedilinkEnglisharrow-up8·edit-29 months agoHTTPS 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?
minus-squarestepanzak@iusearchlinux.fyilinkfedilinkarrow-up2·9 months agoI’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.
minus-squareJuice [none/use name]@hexbear.netlinkfedilinkEnglisharrow-up2·9 months agoI’ll try that, thanks
minus-squareGambled23@sh.itjust.workslinkfedilinkarrow-up1·9 months agoUse ssh authentication instead
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
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account
Connect an SSH key and use that.
No luck, i tried that and https login and it still asks for a PW when I push
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?
I’m not sure about the exact commands, but you do something like
gh auth login
to authenticate the CLI and then something likegh ssh setup
to change ssh’s config file to authorize using the GH CLI.I’ll try that, thanks
Use ssh authentication instead
key identification