Skip to main content

Prereqs:

  • Account on Github.com

Create Repo


  1. Go to github and create a new repository. Name this what you wish and then click create
  2. This gives you some commands to run right out the door to get you synced up with your VS Code.

To create repo from the github side.

echo "# SoloLocalRepo1" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/Dupo24/SoloLocalRepo1.git
git push -u origin main
  1. You'll need to add yourself an access token here just like you would in ADO.

To add existing repo to this github repository:

git remote add origin https://github.com/Dupo24/SoloLocalRepo1.git
git branch -M main
git push -u origin main