reading-notes

Git Notes

Differences between Git & GitHub

Version Control:

Allows users to update and revisit various versions of a file.

Local Version Control:

  • Personal Computer

Remote Version Control:

  • GitHub

Cloning:

Enables users to copy a file from GitHub by using the following command in terminal:

Cloning Process:

In GitHub:

In Terminal:

ADD (File staging)

git add filename filename filename

git add *

(adds all files in the entire project)

git add .

(adds files in current directory that have been changed)

COMMIT (Snapshot)

PUSH (Sends Changes to Repository)