Post

GitHub in VS Code

GitHub in VS Code

Create a GitHub Repository

Initialize a Local Repository

  1. Open your project folder in VS Code.
  2. Go to the Source Control view.
  3. Click the Initialize Repository button.

Publish to GitHub

  1. After initializing, make a README.md file or make some changes.
  2. Commit your changes.
  3. Once committed, click the Publish Branch (or Publish to GitHub) button.
  4. Select a public or private repository.
This post is licensed under CC BY 4.0 by the author.