EXAMPLE AND INSTRUCTIONS TO CONFIGURE:
- GIT: A VERSION CONTROL SYSTEM
- GITHUB.
DOWNLOAD GIT HERE.
- ON WINDOWS: JUST RUN THE EXECUTABLE.
-
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]
- TYPE THE FOLLOWING COMMANDS ON THE VSCODE TERMINAL:
- OPEN VSCODE.
- PRESS Ctrl + Shift + P.
- TYPE
Settings Sync: Turn On...
.
- 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.