DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 968,873 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for Configuring VSCode with GitHub
Lokesh
Lokesh

Posted on

Configuring VSCode with GitHub

1. Install git scm to your machine

sudo apt install git-all

2. Create a new GitHub repository

Alt Text

3. Ensure git is enabled in your VSCode settings

Alt Text

4. Add a Remote

5. Pull all the initial changes

First commit the changes present in your local system and run

git pull <repo-name> master --allow-unrelated-histories

6. Commit all your changes to GitHub

Stage the changes that you want to commit , commit and push to the remote to which you want to add your changes.

Clone a GitHub Repository

git clone <repo-url>

Uninstall git from Ubuntu

sudo apt-get remove git

Top comments (0)

Now it's your turn.

Join DEV and share your story.