Created
February 5, 2020 08:57
-
-
Save Tyler-Pritchard/2ebb8eb81c603820fe1c6cef6ae2c7e7 to your computer and use it in GitHub Desktop.
Vit Feb 2020 Day 2 Notes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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