Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save Tyler-Pritchard/2ebb8eb81c603820fe1c6cef6ae2c7e7 to your computer and use it in GitHub Desktop.

Select an option

Save Tyler-Pritchard/2ebb8eb81c603820fe1c6cef6ae2c7e7 to your computer and use it in GitHub Desktop.
Vit Feb 2020 Day 2 Notes
ViT Feb 2020 Day 2
Things to know:
-Git
-Repository
-Commits
-Cloning
-Pushing/Pulling
-Forking
-Difference between Fork & Clone
When you fork a repository, you create a copy of the original repository (upstream repository) but the repository remains on your GitHub account. Whereas, when you clone a repository, the repository is copied on to your local machine with the help of Git.
Configure your login credentials:
$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]
Add
Commit
Push
Assignment submission
Step 6: Add all of your changes with:
git add -A
TRACKS THE FILES: git add .
SAVES THE FILES AS THEY ARE: git commit -m "made some changes"
exit VIM---> :q!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment