Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.19 KB

File metadata and controls

44 lines (28 loc) · 1.19 KB

GIT AND GITHUB

DESCRIPTION

EXAMPLE AND INSTRUCTIONS TO CONFIGURE:

  • GIT: A VERSION CONTROL SYSTEM
  • GITHUB.

DOWNLOAD

DOWNLOAD GIT HERE.

INSTALLATION

  • ON WINDOWS: JUST RUN THE EXECUTABLE.

CONFIGURATION

  • CREATE A GITHUB ACCOUNT HERE.

  • CONFIGURE GIT USERNAME AND E-MAIL:

    • TYPE THE FOLLOWING COMMANDS ON THE VSCODE TERMINAL:
      • git config --global user.name "TYPE YOUR NAME HERE"
      • git config --global user.email [email protected]

SYNCHRONIZE VSCODE SETTINGS WITH GITHUB ACCOUNT

  • OPEN VSCODE.
  • PRESS Ctrl + Shift + P.
  • TYPE Settings Sync: Turn On....
    • KEEP ALL OPTIONS CHECKED AND CLICK ON Sign In & Turn On BUTTON IMAGE 1
    • CHOOSE Sign in with GitHub. IMAGE 2

EXAMPLE OF REPOSITORY INITIALIZATION

  • OPEN YOUR PROJECT FOLDER IN VSCODE AND TYPE THE FOLLOWING LINE ON TERMINAL:
git init
  • CREATE .gitignore FILE. THIS FILE WILL CONTAIN A LIST OF ALL FILES AND FOLDERS IGNORED BY GIT/GITHUB.
  • ADD node_modules AS A NEW LINE IN .gitignore.