I have followed the explanation here for setting up auto authentication of github on my CLI (on Linux, Ubuntu). In particular, I executed the command given here:
gh auth login
And then I answered Github.com, yes, HTTPS, and my authentication token to the prompts.
This seems to work: It states "Configured git protocol" and "Logged in as ...".
However, when I then write git clone <myrepo>, it asks me again for my username and password.
What am I doing wrong? My understanding was that the gh aut login command is supposed to prevent me from having to type the login data each time.
found in the Github CLI Docs:
after you run gh auth login then run this command
gh auth setup-git
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With