79107897

Date: 2024-10-20 19:36:01
Score: 2.5
Natty:
Report link

Sorry for reviving this thread but this topic is still relevant. That's why I am here :D (since this is my first post I am not allowed to commment on other's post?! but I can write an 'answer'?! strange limitation)

Regarding 'just try for yourself'... Please don't forget people like me have absolutely no clue how git works especially with its integration into VS/Code. There I didn't know I would be asked for credentials as there are already generally valid online IDs, like accounts on Microsoft and Google. As I have logged in into VS/Code, my MS account credentials are already known. (btw I am explicitely writing VS and /Code as those two seem to behave differently in many aspects, likely with git too. I am using both) I also have a github account because I cloned a repository from there.

Here comes my 'answer' (so sorry but I wish i would be allowed to comment but maybe my story will help others). I had a local git repo on my old computer. On my new computer I told VS to open local repository. Worked just fine but now I have a yellow warning telling me I should authenticate myself before commit. How confusing is this??

There is no 'commit' button but 'Push' which I would interpret as 'uploading to github'?! I clicked 'Push' and a window asking for some details is opened. (That's differenct to VSCode as there clicking the button immediatly triggered commit) I can choose remote/local repository and also the folder where my local repository resides. Everything looks nice except I cannot commit. I asks me for credentials and says: code will be pushed to Github. The only button 'Push' (aside of Cancel) is greyed out.

So should I try to enter my github credentials in order to enable the Push button and see what happens? I better keep on reading...

Reasons:
  • Blacklisted phrase (1): to comment
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: NaAlso Comment