How to commit and push your changes to your GitHub repository in VScode

ZeroesAndOnes
7 min readMay 9, 2020

In this article I will walk you through the proper steps that will demonstrate to you how to commit and push your changes to your remote repository on GitHub using your VScode in few easy steps.

In this article we will assume that you have an active GitHub account. If you currently do not have an account with GitHub you can easily create one by going here: GitHub

Additionally, we will assume that you have a remote repository on GitHub that you have cloned locally on you machine/computer.

To learn how to create a remote repository on GitHub as well as clone it locally you can view this article for a quick step-by-step demonstrating how to do so.

1 — Open repository in VScode

I have a remote repository on GitHub “githubrepotutorial” and I have already cloned it locally. The repository is simple and only has two files, helloworld.js and a README.md.

In the screen shot below you will see the repository opened in VScode. If you look at the lower left hand side of the screen shot where the red arrow is pointing will notice that is says “master”. This is the branch that you are currently…

--

--

Responses (3)