• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Git presentation pdf
 

Git presentation pdf

on

  • 743 views

Git and

Git and

Statistics

Views

Total Views
743
Views on SlideShare
743
Embed Views
0

Actions

Likes
0
Downloads
1
Comments
0

0 Embeds 0

No embeds

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

    Git presentation pdf Git presentation pdf Presentation Transcript

    • GIT FOR EVERYONE Nabeel Ali MemonThursday, July 28, 11 1
    • Conceptual Differences If you’r not distributed, you’r not worth it If you won’t let me work offline, you’r not worth it If you give me hard time merging changes, you’r not worth it If you’r dead slow, you’r not worth itThursday, July 28, 11 2
    • Learning Git (Subversion re-education) What is a repository? What is a commit? What are branches? What is commit-history? What about merges?Thursday, July 28, 11 3
    • A typical SVN repositoryThursday, July 28, 11 4
    • A [distributed] Git repoThursday, July 28, 11 5
    • A Commit SVN Commit: svn commit -m “My cool commit” Git Stage: git add <fileName(s)> Commit: git commit -m “My cool commit” Push: git pushThursday, July 28, 11 6
    • A Branch SVN svn copy <repo-to-branch> <branch-name> Git git branch <branch-name>Thursday, July 28, 11 7
    • Commit History SVN One-way (revision number increments) Unchangable Very Slow Git Merges (based on hashcodes) Changeable, Squashable, Splittable, Reshapable Extremely FastThursday, July 28, 11 8
    • A Merge (conflict resolution) SVN Simple Stupid merge (based on your changes and my changes) Git Multi-Strategy, Intelligent merge (octopus, resolve, recursive, subtree, ours) Rebase (and get rid of dumb merge-commit)Thursday, July 28, 11 9
    • Where to go http://gitref.org/ http://progit.org/book/ http://code.google.com/p/gerrit/Thursday, July 28, 11 10