Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 1.58 KB

File metadata and controls

32 lines (17 loc) · 1.58 KB

Git & Github

What is Git?

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Some advantages for using Git in teamwork.

What is Github?

Github is a web-based hosting service for version control using Git. It offers all of the distributed version control and source code management functionality of Git as well as adding its own features. It provides access control and several collaboration features such as bug tracking, feature requests, task management, and wikis for every project.

It is helpful to store, manage and even online-share files between coworkers without saving a large number of copies in your PC.

Simple Tutorial

There are four main parts in this process: workspace, staging, Local Repository and Remote Repository.
Workspace is the working directory in your local PC, in which you save files. And if you use the command

$ git add filename

the changes will be submitted to staging. Then you use the command

$ git commit -m "comments"

in order to add comments of modifications to Local repository.

Figure 1

廖雪峰Git教程

Git菜鸟教程