14
Getting started with version control Nguyen Van Manh 2C12 Ta Quang Tu 2C12 Pham Thanh Trung 1C12

Getting Started With Version Control

Embed Size (px)

Citation preview

Page 1: Getting Started With Version Control

Getting started with version control

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

Page 2: Getting Started With Version Control

1. Introduction to version control

2. Introduction to Git

3. Demostration

Page 3: Getting Started With Version Control

• 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

Page 4: Getting Started With Version Control

• Dropbox

1. Introduction to version control

Where do version control come from?

Page 5: Getting Started With Version Control

• Google Docs

1. Introduction to version control

Where do version control come from?

Page 6: Getting Started With Version Control

• Wikipedias

1. Introduction to version control

Where do version control come from?

Page 7: Getting Started With Version Control

• ….And Git

Where do version control come from?

1. Introduction to version control

Page 8: Getting Started With 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

Page 9: Getting Started With Version Control

• 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

Page 10: Getting Started With Version Control

2. Introduction to

Page 11: Getting Started With Version Control

Highlights: GIT’s Characteristics

Branching &

merging

Small & fast

Fully distributed

Staging area

Data assurance

Free & open

source

Page 12: Getting Started With Version Control

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

Page 13: Getting Started With Version Control

3. Demostration

Page 14: Getting Started With Version Control

THANK YOU FOR LISTENING!