Skip to the content.

Home Page

Reading Notes 03

Read: Git Intro

Link to Git Intro page

There are special features of git that allow you to save all different versions of a project or file. It is called version control.

There are three different types of version control systems (VCS):

The specific version control system we are using in this class is GitHub. It is a Distributed Version Control System (DVCS). This means that it is a VCS that is not only on one server, and vulnerable to crashes if ever there is a problem, but stored on multiple (on the cloud).

ACP

ACP stands for Add, Commit, Push. These are the three steps to adding something to a GitHub repository through the terminal.

Add

The commands and arguments to be used in the terminal are as follows:

Commit

The commands to commit the files that have been added to the index are:

Push

The command:

Allows you to change the files that are viewed online to the commited versions. This brings the file to the repository origin in its main branch.