Following the instructions in this lesson article I reached the stage where I have created a github repo and ran:
git push -u origin main
the problem I have however is that the article says at this point I should be prompted for my GitHub username and password (a token generated following instructions early in the article) however I wasn’t. Unlike the problem experienced in another post my push was actually successful and the files made it to the repo on github. The output of the command was as follows:
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Writing objects: 100% (3/3), 232 bytes | 232.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/[username - redacted]/git_practice.git
* [new branch] main -> main
branch 'main' set up to track 'origin/main'.
I’m concerned that I was able to make this update without entering a password or supplying the auth token. Could it be that my Github account is unsecure (I originally created it a long long time ago on a different course but didn’t really use it)? I’ve also uploaded a repo to Github via VS Code a couple months ago, though with lacking familiarity I don’t really remember how I ultimately managed to do this. Is it possible my credentials have been stored and used automatically? How may I find these?
The repo was created just now as instructed during the article, the only setting I changed was to make the repo private rather than public.