Git + SVN: A match made in ?

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    3 Favorites & 1 Event

    Git + SVN: A match made in ? - Presentation Transcript

    1. Git + SVN: A Match Made in ?
    2. Types of Version Control
    3. Distributed
      • Each checkout is a fully functional repository
      • Anybody may accept patches from anyone else
      • Anybody may send patches to anyone else
      • Ideal for projects with parallel feature developement
    4. Non-Distributed
      • One canonical repository
      • All changes are submitted to the repository
      • All changes are retrieved from the repository
      • Ideal when
        • a canonical version is required,
        • access to the repository should be controlled
    5. SVN: Strengths
      • Authorization/ACLs
      • Hooks ecosystem
      • Large number of OSS projects using it:
        • SourceForge
        • Google Code
    6. Git: Strengths
      • Cheap, local branching
      • Fork code locally to patch issues
      • Offline commits!
      • Compact storage -- more compact than svn
    7. git + svn
      • git tracks svn
      • pulls svn locally and keeps track of latest revision pulled
      • allows pushing back to the svn repository
    8. Setting it up
      • git svn clone <path to repo> <working dir>
      Cloning
      • git svn init <path to repo>
      • git svn fetch
      Manual init + fetch
      • “ -T” indicate that checkout is from trunk
      • “ -t” indicate that checkout is tags dir
      • “ -b” indicate that checkout is branches dir
      • “ -s” indicate that svn repo follows standard layout
      • Basically: git imports branches and tags!
      Fun init switches
    9. Using git + svn
      • Develop as usual
      • Use git to manage your code
      • “ git svn rebase” syncs your git repo with svn repo
      • “ git svn dcommit” pushes your local git commits to svn
    10. Use cases
      • Experimental code
      • Travelling
      • Laundry day!
    11. Thank you.

    + Matthew Weier O'PhinneyMatthew Weier O'Phinney, 5 months ago

    custom

    1321 views, 3 favs, 1 embeds more stats

    Short un-conference tutorial showing how to use git more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1321
      • 1320 on SlideShare
      • 1 from embeds
    • Comments 0
    • Favorites 3
    • Downloads 44
    Most viewed embeds
    • 1 views on http://www.plaxo.com

    more

    All embeds
    • 1 views on http://www.plaxo.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Groups / Events