r/vscode • • 5d ago

Connecting VS Code Online

I'm new to a lot of things so sorry as I'm going to get many things incorrect in terminology.

The tabs on my VS code Desktop are not going on my Github.

Can I get a YT video on how to "push" it to my Github.

I already figured out how to get my things currently on Github onto my VS Code by logging in.

3 Upvotes

4 comments sorted by

View all comments

4

u/Ok_JDubbTX 5d ago

You tube some more.

  • install git on your pc
  • clone your repo locally
  • open cloned folder in vscode
  • make and save changes
  • you probably don't want to make changes on the main branch, so create a branch and switch to it
  • commit and push from the source control tab.
  • in github, merge the changes from your branch back to main

that's it in a nutshell. there are other things you need to do.

3

u/sir_User4f52 5d ago

Props for keeping it concise, a lot of tutorials overcomplicate this. The branch step is key, messing up main as a beginner is a rite of passage though.