i created cpython clone a year back. That time i just used https link of cpython github and created clone on my laptop ubuntu. Recently I got it and it asked for username and password. Is it possible I can give my github username/email and password and clone cpython. I am not sure it is github related or cpython related. I have new clone with username git@github.com but i want to use my official paid github login id. There are articles that talks of but for your own repository. cpython is not my repository. There are also different ways like ssh keys which i can try. My github login is aakhare-anand. I have repository there but cpython is not mine. What are ways to clone cpython with login and what do you recommend.
It’s github change as far as I can tell.
I found I had to start using ssh to access github repos as the username/token I was using stopped working.
When you use git/GitHub with ssh the URL always looks like git@github.com e.g.
# Clone the central repo:
git clone git@github.com:python/cpython.git
# Clone your fork (if you have one):
git clone git@github.com:aakhare-anand/cpython.git
Both of those commands will try to authenticate with github over ssh. That then looks for your ssh keys in ~/.ssh and if you have a key that is registered with account aakhare-anand on GitHub then it grants access to that account (e.g. to acces its private repos).
does it mean if i do not fork, i cannot access cpython or any repo with account userid. Or account verification is only for private or ownership repositories. My confusion started with possibilites like "github wants everyone to have account iff access even public repositories or “without userid/login they can clone it” . Apart from this, repositories owners may have reservations that it can be cloned “without loginids” or “only with loginids”. Lets on my side, I want my authenticated login session to be used for clone of cpython which is not my repository. Just means I think i will have only one option is to fork it?
You do not need a github account to clone a repo.
I have cpython cloned and I do not use credentials do git pull etc.
You do need a github account to clone via ssh. You don’t need a github account to have readonly access via https.