GIT for n00bs Glenn F. Henriksen
May 24, 2015
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/