Don’t be a git. Learn git w/out VSCode.
Microsoft’s integration of Windows git into VSCode has blocked you from ever learning git properly.
It’s Worth Learning git
Microsoft couldn’t really buy Linux, Python or git. So they built Linux into Windows, hired Python’s creator and spent a $7.5 billion to buy Github. Now they “own” the developer community. While appearing helpful, the way VSCode integrates git keeps you from ever developing this fundamental and essential tech skill so as to keep you dependent on Microsoft software forever.
My main git reminders
After making a repo and (properly) using keys for eliminating passwords challenges, this is how you connect it to a freshly made Github.com repo.
git remote add origin git@github.com:miklevin/ga.git
git branch -M main
git push -u origin main
And if later you need to change the origin URL:
git remote set-url origin git@github.com:miklevin/automatechrome.git
Check which branch you’re on:
git branch -r