reading-notes

Class 3: Revisions & The Cloud

What is Version Control?

Version control is a system that lets you revisit past versions of the same file. Doing this can help track who made changes, where they were made and a what point they were made.

What is cloning in Git?

Cloning is just creating a copy of an existing gir repository. once you clone the git you can make changes on the git and then send it back to the repsotitory.

What is the command to track and stage files?

use the ‘git add’ followed by the file name or ‘git add *’ to add all file. then stage the file by commanding git status.

What is the command to take a snapshot of your changed files?

Once you track and stage the git you will take a snapshot of the files by using the command ‘git commit -m” Made changes because x” ‘.

What is the command to send your changed files to Github?

Once everything has been committed, you will push the gut to the master using ‘git push origin main’.