Git for n00bs

Post on 24-May-2015

229 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Slides for my "Git for n00bs" talk given at the Norwegian .Net User Group and Stavanger Software Developers meetup. The slides probably won't help you much unless you were there. If you want to learn about Git I suggest you read (or buy) the Git Pro book instead: http://git-scm.com/book

Transcript

GIT forn00bsGlenn F. Henriksen

A brief history of version control

A brief history of

Git

Git basics

• Lokal• Integritet• Kan bare legge til

Three states

.git directory (repository)Working directory Staging

area

Checkout the project

Stage the files

commit

Git basics

initstatusadd

commit

The way of the file

stagedUntracked modified

Remove file

Edit file

unmodifed

Stage file

Commit file

Add file

Git branching

git branch testing

git checkout testing

Questions?glenn@henriksen.no

@henriksen

top related