Giter Club home page Giter Club logo

setup-github-with-vs-code's Introduction

Setup-GitHub-With-VS-Code

How to set up Github for use with Visual Studio Code on Windows

I had a difficult time setting up Github for use with Visual Studio Code but eventually found this article describing how to do it on OSX.

My severe lack of knowledge led to the instructions not actually working but they did lead to the following steps which work for me. I'm including them here because I keep forgetting details of the procedure.

  1. Use the Git tab/function in Visual Studio Code to put the project's folder under Git control.
  2. Go to https://github.com and create a new project.
  3. Click the Clone or download button and copy address of new git.
  4. Open a terminal window and navigate to the location of the project.
  5. Enter the following: git remote add origin {copied_git_address}.
  6. Open GitHub Desktop and click + button in upper left corner.
  7. Click Add then enter local path to project folder (use Browse button).
  8. Click Add repository button.
  9. Project can now be synced from within VSC.

Remove node_modules folder

#add 'node_modules' to .gitignore file

git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin master

Article about global gitignore file

setup-github-with-vs-code's People

Contributors

maxapps avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.