Upload
glenn-henriksen
View
234
Download
0
Tags:
Embed Size (px)
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
Citation preview
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
@henriksen
All figures (except slide 12 and 14) are from the Pro Git book, written by Scott Chacon. Licensed under CC-BY-NC-SA (http://git-scm.com/book)
This presentation is licensed under the Creative Commons Attribution Non Commercial Share Alike 3.0 license.
Links:Git: http://git-scm.com/downloadsGitHub: http://github.com/ GitHub for Windows: http://windows.github.com GitHub for Mac: http://mac.github.com/BitBucket: http://bitbucket.org/ SourceTree: http://www.sourcetreeapp.com/