this post was submitted on 13 Dec 2023
491 points (94.2% liked)
Programmer Humor
19488 readers
1084 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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 [email protected]:user/repo.git
Did you use the correct syntax for SSH?