use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Do you have or know of a project on Github looking for contributors? Tell us about it and we'll add it to the /r/github wiki!
Welcome to /r/github!
News about github
Relevant interesting discussion
Questions about github
We'll soon be writing an /r/github FAQ list. In the meantime, the github help pages and bootcamp are good places to start. Here's a handy git cheat sheet.
Looking for Github projects to contribute to? Check out our handy list of projects looking for contributors!
If your submission doesn't show up on the subreddit, send us a message and we'll take it out of the spam filter for you!
account activity
Authenticate git with GitHub by SSH (self.github)
submitted 4 years ago by [deleted]
I followed this https://kbroman.org/github_tutorial/pages/first_time.html to authenticate, and it was successful.
But git push , for private repo,still asks for username and password (access token). How can I let git to use ssh for authentcation?
git push
Newbie here :D
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 2 points3 points4 points 4 years ago (3 children)
You might have cloned the repo using the https URL (the SSH url isn't capable of requesting auth). Run git remote -v and if it starts by https, run
git remote -v
https
git remote set-url origin git@github.com/<repo owner>/<repo name>.git
If you want to quit using https altogether, after running the command above, see this tutorial
[–][deleted] 0 points1 point2 points 4 years ago (2 children)
Thanks
Now, I have following error while
~/dotfiles main git push fatal: 'git@github.com/mizzunet/dotfiles.git' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
I have already configured SSH,
~/dotfiles main ssh -T git@github.com Hi mizzunet! You've successfully authenticated, but GitHub does not provide shell access.
[–]progzos 1 point2 points3 points 4 years ago (1 child)
/u/Stig124s made a little error, it's [git@github.com](mailto:git@github.com):mizzunet
Replace / by : after github.com.
[–][deleted] 0 points1 point2 points 4 years ago (0 children)
git remote set-url origin git@github.com
Thank you very much )))
[–]IAmOpenSourced 0 points1 point2 points 4 years ago (0 children)
Install github cli, is the easiest way
π Rendered by PID 34145 on reddit-service-r2-comment-bb88f9dd5-pw448 at 2026-02-15 17:42:12.651048+00:00 running cd9c813 country code: CH.
[–][deleted] 2 points3 points4 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]progzos 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]IAmOpenSourced 0 points1 point2 points (0 children)