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

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay