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.