DEV Community

Cover image for How to Publish a New Project to Github with VS Code
Christian Nwamba
Christian Nwamba

Posted on

12 2

How to Publish a New Project to Github with VS Code

TL;DR VS Code has full Github integration


Every time you create a new project, you have to complete the following 5 steps to get the project into source control and in turn push to Github:

  1. Initialize
  2. Stage
  3. Commit
  4. Add remote
  5. Push

Though trivial, it is quite repetitive especially if as a developer, your role requires creating examples, demos, quick one-off projects for customers.

VS Code has full Github integration, one of which is clicking a button that does all of the above 5 steps for you.

Screenshot of publish to GitHub button

I made a video to show you how this works

Billboard image

Use Playwright to test. Use Playwright to monitor.

Join Vercel, CrowdStrike, and thousands of other teams that run end-to-end monitors on Checkly's programmable monitoring platform.

Get started now!

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay