Commiting code using VS Code

In order to commit your changes to Git and then synchronize your commits to GitHub, you can use VS Code.

  1. Switch over to the Source Control pane, marked as 1 here:
Visual Studio Code Source Control pane
  1. Enter a commit message in 2
  2. Click on the check-mark icon to commit your changes in 3
  3. Finally, synchronize your changes with your GitHub repository by clicking on the refresh icon in 4.

Going forward, you can do most Git operations from within VS Code.

Get Angular 6 for Enterprise-Ready Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.