David Krmpotic: Git
Upcoming SlideShare
Loading in...5
×
 

David Krmpotic: Git

on

  • 2,843 views

 

Statistics

Views

Total Views
2,843
Views on SlideShare
2,094
Embed Views
749

Actions

Likes
3
Downloads
47
Comments
0

5 Embeds 749

http://slo-tech.com 677
https://slo-tech.com 65
http://www.slideshare.net 4
http://translate.googleusercontent.com 2
http://education-kerala.blogspot.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

David Krmpotic: Git David Krmpotic: Git Presentation Transcript

  • GIT git the basics right david krmpotić Saturday, November 28, 2009
  • What is GIT? • source control system • distributed • offline Saturday, November 28, 2009
  • Git is not.... Saturday, November 28, 2009
  • Git is not.... Saturday, November 28, 2009
  • GIT vs SVN Saturday, November 28, 2009
  • Basics Saturday, November 28, 2009
  • Basics Saturday, November 28, 2009
  • Basic Commands • git init • git clone • git add + git commit • git push • git pull • git log Saturday, November 28, 2009
  • Git log Saturday, November 28, 2009
  • Everything is local Saturday, November 28, 2009
  • Staging Area (index) • an intermediate step • allows flexibility • build commits the way you want Saturday, November 28, 2009
  • Why is it better than X? • cheap local branching • everything is local • fast • small space • staging area • any workflow • GitHub http://whygitisbetterthanx.com Saturday, November 28, 2009
  • Branching • git branch develop • git merge develop Saturday, November 28, 2009
  • FAST Saturday, November 28, 2009
  • Time to Take The Time! • if you want to go faster, stop and learn GIT Saturday, November 28, 2009
  • Source Control Taxonomy Saturday, November 28, 2009
  • DAG (no deltas) Saturday, November 28, 2009
  • Source Control Taxonomy Saturday, November 28, 2009
  • Workflow svn style Saturday, November 28, 2009
  • Integration Manager Workflow Saturday, November 28, 2009
  • Dictator and Lieutenants Workflow Linux kernel development Saturday, November 28, 2009
  • Object Database • blob • tree • commit • (tag) Saturday, November 28, 2009
  • SHA • Each object is identified by a SHA-1 hash of its contents Saturday, November 28, 2009
  • Blob Saturday, November 28, 2009
  • Tree Saturday, November 28, 2009
  • Commit Saturday, November 28, 2009
  • Saturday, November 28, 2009
  • Immutable objects Saturday, November 28, 2009
  • Repository Internals Saturday, November 28, 2009
  • Branching commands • git branch • git checkout • git merge • git rebase Saturday, November 28, 2009
  • Remotes = remote branch They take the form (remote)/(branch). For instance, if you wanted to see what the master branch on your origin remote looked like as of the last time you communicated with it, you would check the origin/master branch. Saturday, November 28, 2009
  • Tools Saturday, November 28, 2009
  • Resources • gitready.com • O’Reilly: Version Control with Git • PeepCode: Git • whygitisbetterthanx.com • gitcasts.com/git-talk • progit.org • david@strelovod.com Saturday, November 28, 2009