Version Control with Git, 2nd Edition
Powerful tools and techniques for collaborative software development
Publisher: O'Reilly Media
Final Release Date: August 2012
Pages: 456

Get up to speed on Git for tracking, branching, merging, and managing code revisions. Through a series of step-by-step tutorials, this practical guide takes you quickly from Git fundamentals to advanced techniques, and provides friendly yet rigorous advice for navigating the many functions of this open source version control system.

This thoroughly revised edition also includes tips for manipulating trees, extended coverage of the reflog and stash, and a complete introduction to the GitHub repository. Git lets you manage code development in a virtually endless variety of ways, once you understand how to harness the system’s flexibility. This book shows you how.

  • Learn how to use Git for several real-world development scenarios
  • Gain insight into Git’s common-use cases, initial tasks, and basic functions
  • Use the system for both centralized and distributed version control
  • Learn how to manage merges, conflicts, patches, and diffs
  • Apply advanced techniques such as rebasing, hooks, and ways to handle submodules
  • Interact with Subversion (SVN) repositories—including SVN to Git conversions
  • Navigate, use, and contribute to open source projects though GitHub
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyVersion Control with Git, 2nd Edition
 
4.6

(based on 15 reviews)

Ratings Distribution

  • 5 Stars

     

    (12)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (0)

93%

of respondents would recommend this to a friend.

Pros

  • Well-written (12)
  • Helpful examples (11)
  • Accurate (10)
  • Easy to understand (9)
  • Concise (6)

Cons

    Best Uses

    • Intermediate (14)
    • Novice (12)
    • Student (7)
    • Expert (5)
      • Reviewer Profile:
      • Developer (13)

    Reviewed by 15 customers

    Sort by

    Displaying reviews 1-10

    Back to top

    Previous | Next »

     
    2.0

    Very in-depth, but rather confusing

    By Mega Bean

    from London

    About Me Developer

    Verified Reviewer

    Pros

      Cons

      • Confusing
      • Difficult to understand

      Best Uses

      • Expert
      • Intermediate

      Comments about oreilly Version Control with Git, 2nd Edition:

      This is an incredibly in-depth book about git, that has details about nearly every variation of each git command, enough to make a man page proud!

      As to the content, I often found the order information was presented seemed to be back to front. i.e. it tended to be in a great deal of detail first, then followed by a high level overview.

      I also found that the writing was often slightly confusing, with more then one instance where a sentence or paragraph seemed to contradict its self. Better/more editing would have fixed this issue.

      Overall, a slightly vexing book, since I had a real interest in seeing how git worked, but after reading this book cover to cover I am still left with some questions about the basic workings.

      I enjoyed the later chapters where the author became more chatty, the Github chapter in particular was interesting and easy to read. It does strike me as a slightly odd chapter though. Given the extremely in depth coverage of the rest of git, I would assume that this book would appeal more to the expert, and therefore this chapter is rather superfluous surely?

      To summarise, if, like me, you are an SVN user who is looking to change to git and wants to get an overview of how git works (because lets face it, initially it is a lot less intuitive then SVN) this is probably NOT the book for you.

      If, on the other hand, you want to be able to talk knowledgeably about all things git and already have a decent knowledge, this book might be a good place to go.

       
      5.0

      Good and thorough book

      By El

      from Europe

      About Me Developer

      Verified Buyer

      Pros

      • Accurate
      • Concise
      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Intermediate
        • Novice
        • Student

        Comments about oreilly Version Control with Git, 2nd Edition:

        When reading from start to finish you'll get everything you need to know about git and more. It guides you with good examples and lots of details.

        One thing that could be better if there was an introducing chapter that fast walk you through all common git operations and concepts instead of waiting to reach the specific chapter. e.x. merging for instance.

        The second thing is not related to the book but git commands themselves. The output is hard to understand and a legend or summery of the output generated is hidden in the git help and you do need to dig in. It would be helpful if there was an appendix with diagrams of the command outputs and the meaning of each part of the output.

        When you want to learn git from inside out, I would recommend this book. It will take you a month and you will need to follow along doing the examples to make it stick.

        (1 of 1 customers found this review helpful)

         
        4.0

        Get Git

        By RCC

        from Toronto, ON

        About Me Designer, Developer, Educator

        Verified Buyer

        Pros

        • Accurate
        • Clear Writing
        • Deep
        • Realistic Examples
        • Well-written

        Cons

        • Github Chapter Outdated
        • Not A Beginner Book

        Best Uses

        • Expert
        • Intermediate

        Comments about oreilly Version Control with Git, 2nd Edition:

        If you just want to learn how to use Git, or some super-effecient workflows, this is NOT the book for you. This book digs deep into the guts and history of Git for a few chapters before even touching the command line and focuses on the Why rather than the What.

        I definitely got stuck a few times with the examples when the book said "Then do x" and I had to google to figure out exactly how to do x, but if you have moderate knowledge of the command line (and vim...) you will probably not run into this problem. The examples are very clear and given how Git works if you type in the right things you will get the exact same results as the book.

        I would highly recommend this book for anybody who wants to know how Git works for real and not just type in some stuff you learned from an online tutorial. Even if you already consider yourself functional at Git you might want to give this book a skim because the concepts behind it are really fascinating.

         
        3.0

        OK for newbies, but short as a reference

        By sqaview

        from Santa Clara, CA

        About Me Developer

        Verified Reviewer

        Pros

          Cons

          • Not comprehensive enough

          Best Uses

          • Novice
          • Student

          Comments about oreilly Version Control with Git, 2nd Edition:

          I'm a git newbie and have been thrown into the fire quickly. I'm already finding this "2nd edition" dated, as there's no real discussion of tagging, git describe, building Python packages that are managed with git (e.g., how to pragmatically generate unique package version numbers), what the definition of "committish" or "commit-ish" (legacy) is, etc. Since I'm relying on this book as a reference, I wish it had more coverage on these sort of topics, consequently I can only give it three stars.

           
          5.0

          Must read!

          By Konrad Garus

          from Krakow, PL

          About Me Developer

          Verified Reviewer

          Pros

          • Accurate
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

            Best Uses

            • Expert
            • Intermediate
            • Novice

            Comments about oreilly Version Control with Git, 2nd Edition:

            There are reasons why Git has become so popular, but the first encounter with it can a bit overwhelming. Even if you kind of learn how to do basic things, it's not uncommon to feel like we're only scratching the surface. The typical reaction when something slightly less typical is needed often sounds like: "There be dragons!"

            Here comes "Version Control with Git" by Jon Loeliger and Matthew McCullough.

            It starts with a good explanation of the basic concepts of Git. It explains all the building blocks of Git and internal organization of repository. It slowly introduces the basic commands and every time explains very well how a change is reflected in the repository or what a command is really operating on.

            The distribution, collaboration, merging etc. are introduced fairly late, but somehow by that time the reader will have understood the core so much that everything just falls into place and is immediately understandable. Finally, it also shows some more arcane features and commands that probably are rarely used, but knowing that they are there and having the book handy for when the time comes doesn't hurt.

            Last but not the least, it explains common usage patterns as well as things that can be done outside the typical path, with appropriate warnings about possible negative impact.

            This book is a must-read for all Git users. It's usable on all levels, from absolute newbie to someone who feels fairly proficient with Git. I've been using Git daily for quite a while, and it really helped me understand what is going on. Everything is very accessible, with plenty of examples as small and practical as possible, as well as some images.

             
            5.0

            Finally getting Git

            By Wendell Walker

            from Berkeley, CA

            About Me Developer

            Verified Buyer

            Pros

            • Accurate
            • Easy to understand
            • Helpful examples
            • Well-written

            Cons

              Best Uses

              • Intermediate
              • Novice
              • Student

              Comments about oreilly Version Control with Git, 2nd Edition:

              I've been using Git for several years, but in the most limited, hazard-prone way due to lack of understanding. Everything I'd read seemed to assume one or more ideas that I didn't share and I'd soon get lost in the reeds. Version Control with Git starts from first principles and works outward from there. The style is exemplary, and the examples are a rarity, in that they work for learning whether you follow along or not. I finally feel ready to use Git as more than a glorified backup system.

              (1 of 1 customers found this review helpful)

               
              5.0

              Deep into the inner workings of Git

              By Michael

              from Canada

              About Me Developer, Team Lead

              Verified Reviewer

              Pros

              • Accurate
              • Concise
              • Deep
              • Easy to understand
              • Helpful examples
              • Insightful
              • Well-written

              Cons

                Best Uses

                • Intermediate
                • Novice
                • Student

                Comments about oreilly Version Control with Git, 2nd Edition:

                A simply fantastic, elegantly and concisely written explanation of everything you've ever wanted to know about Git, especially the concepts you didn't even realize you had misunderstood before reading this book.

                From the conceptual underpinnings that make up Git's object store to cherry-picking, this books covers it all in clear language with great examples.

                The author is also gifted with a reader's insight: at every single point I found myself asking "But what about situation X?" there would be a tip box addressing exactly that, clearly.

                If you work with Git, read the entire book. Internet-based resources can be useful, but this is exhaustive and pleasant to read.

                 
                5.0

                Great for pro and novices

                By jonmoo

                from Central City, KY

                About Me Sys Admin

                Verified Reviewer

                Pros

                • Accurate
                • Concise
                • Easy to understand
                • Helpful examples
                • Well-written

                Cons

                  Best Uses

                  • Intermediate
                  • Novice

                  Comments about oreilly Version Control with Git, 2nd Edition:

                  The first several chapters of this book introduces you to Git in a few ways. The authors discuss the installation and basic uses of Git as well as go over some of the history behind Git. I gained most of my knowledge of Git through hands-on experience and this discussion of its history proved using in those cases where understanding why something happens and not just how can make a huge difference.

                  After the introduction, the authors expand on some of the basic concepts and give a more in depth explanation of the basics of Git and how you would use Git in your everyday life. I found following along with the examples presented in the book proved very useful in strengthening my understanding of the Git way of doing things.

                  As the book progresses the authors dive into more and more complex topics and still manage to explain everything in such a way that I was able to follow along with no problems. The book is structured in such a way that it is very easy to jump around and explore without missing out on anything.

                  I would highly recommend Version Control with Git to anyone new to version control systems as well as those already experienced looking for some new tricks. Even if you know what you're doing, the authors make the book enjoyable and fun to read.

                  (1 of 1 customers found this review helpful)

                   
                  5.0

                  Expertly combines tutorial and reference

                  By Craig Maloney

                  from Michigan

                  About Me Developer

                  Verified Reviewer

                  Pros

                  • Expands On First Edition
                  • Helpful examples
                  • Well-written

                  Cons

                    Best Uses

                    • Expert
                    • Intermediate
                    • Novice
                    • Student

                    Comments about oreilly Version Control with Git, 2nd Edition:

                    It's hard to remember a time before distributed version control systems became the norm. When Git, bzr, and hg started being used there was a culture shock. Where does the central repository live? Who can commit, and to where? How to I merge several developers' work together into one repo? Over time Git proved itself to be the clear front-runner, and most Open Source projects either use Git, or recognize the reasons for why they're not using Git. But for those not yet versed in the ins-and-outs of Git, learning how Git works and how it differs from version control systems like Subversion and CVS can be challenging. Version Control with Git, Second Edition comfortably brings readers from Git newbies into Git masters over the course of the book.

                    The first edition of Version Control with Git was an excellent book for learning the more advanced topics of Git, but the reference nature of the first edition was less useful for those just learning Git. The second edition builds on the foundations of the first book and extends it to be more accessible to beginners. Each concept starts off with an overview of the basic, and then gradually sprinkles on the more advanced topics until the reader can grasp the concept. It has quickly become my go-to book for any of my Git questions, and has neatly compressed my recommendations for beginner books into one handy reference book.

                    Version Control with Git, Second Edition splits itself into two sections. The first part covers all of the operations pertaining to a single local repository. The latter parts delve into the more powerful parts of Git, and how to use it with multiple repositories. There is also a chapter handling repositories using Github. The book is very clear, easy to read, and provides ample workable examples throughout the chapters. Unlike some books that try to keep a project throughout the book, Version Control with Github begins each chapter with fresh examples, which allows each chapter to be worked independently of the rest of the book.

                    I found Version Control with Git, Second Edition a welcome refresh of a book that I already regarded highly. When folks would ask me which book to use to learn Git, I'd recommend they read one of the other introductory books, then refer to this book as needed. With the second edition, I can now recommend this book to anyone looking for how to get started and master Git.

                    (Note: I received this book from O'Reilly to review, but the first edition was awesome enough that I would have purchased the second edition sight-unseen).

                    (2 of 2 customers found this review helpful)

                     
                    5.0

                    Exactly the Thing!

                    By Steve

                    from Boulder, CO

                    About Me Developer

                    Verified Reviewer

                    Pros

                    • Accurate
                    • Concise
                    • Easy to understand
                    • Helpful examples
                    • Well-written

                    Cons

                      Best Uses

                      • Intermediate
                      • Novice

                      Comments about oreilly Version Control with Git, 2nd Edition:

                      Covers the essentials quickly then goes into as much detail as you will ever need (well, as much as I'll ever need). Read it through quickly to understand what you need to know right away and what else you can do if the need arises, then keep this nearby as a reference.

                      Once you gain an understanding of command-line operations you may feel constrained by a GUI. But if you move, or go back to a GUI you'll at least know what's going on under the covers.

                      Every technical publication should aspire to this level of concision, clarity, and depth.

                      Displaying reviews 1-10

                      Back to top

                      Previous | Next »

                       
                      Buy 2 Get 1 Free Free Shipping Guarantee
                      Buying Options
                      Immediate Access - Go Digital what's this?
                      Ebook: $31.99
                      Formats:  DAISY, ePub, Mobi, PDF
                      Print & Ebook: $40.69
                      Print: $36.99

                      Available in Multiple Languages