Getting Started With Version Control

Preview:

Citation preview

Getting started with version control

Nguyen Van Manh 2C12Ta Quang Tu 2C12Pham Thanh Trung 1C12

1. Introduction to version control

2. Introduction to Git

3. Demostration

• Save/restore version of file add different period of time• Collaborate with people• Successful company like GG, Fb use version

control • Saving file manually

1. Introduction to version control

• Dropbox

1. Introduction to version control

Where do version control come from?

• Google Docs

1. Introduction to version control

Where do version control come from?

• Wikipedias

1. Introduction to version control

Where do version control come from?

• ….And Git

Where do version control come from?

1. Introduction to version control

Features comparision

Version Control Any editor Use offline Manual Save

Manually Yes Yes YesDropbox Yes No No

Google Doc No No NoWikipedia no No Yes

Yes Yes YesSVN Yes No Yes

• Created by Linus Trovard• Git – British slang: unpleasant

person @@!

2. Introduction to

• Git – version control system (Website: http://git-scm.com)• GitHub – code sharing and

collaboration platform• Using Unix style command

2. Introduction to

Highlights: GIT’s Characteristics

Branching &

merging

Small & fast

Fully distributed

Staging area

Data assurance

Free & open

source

The Concept map

• Respository: collection of file• Clone: download• Commits: an building block of

git, represent a version of your code.

• Log: view commits history• Diff: compare two commits

Repository

Commit

difflogClone

Part-of

Operates-on

3. Demostration

THANK YOU FOR LISTENING!

Recommended