Pro Git 2nd ed. Edition
| Scott Chacon (Author) Find all the books, read about the author, and more. See search results for this author |
| Ben Straub (Author) Find all the books, read about the author, and more. See search results for this author |
Use the Amazon App to scan ISBNs and compare prices.
Pro Git (Second Edition) is your fully-updated guide to Git and its usage in the modern world. Git has come a long way since it was first developed by Linus Torvalds for Linux kernel development. It has taken the open source world by storm since its inception in 2005, and this book teaches you how to use it like a pro.
Effective and well-implemented version control is a necessity for successful web projects, whether large or small. With this book you’ll learn how to master the world of distributed version workflow, use the distributed features of Git to the full, and extend Git to meet your every need.
Written by Git pros Scott Chacon and Ben Straub, Pro Git (Second Edition) builds on the hugely successful first edition, and is now fully updated for Git version 2.0, as well as including an indispensable chapter on GitHub. It’s the best book for all your Git needs.
Frequently bought together
Customers who viewed this item also viewed
Editorial Reviews
Product details
- Publisher : Apress; 2nd ed. edition (November 9, 2014)
- Language : English
- Paperback : 440 pages
- ISBN-10 : 1484200772
- ISBN-13 : 978-1484200773
- Item Weight : 18.59 pounds
- Dimensions : 7.52 x 1.08 x 9.25 inches
- Best Sellers Rank: #70,071 in Books (See Top 100 in Books)
- Customer Reviews:
About the authors

Scott Chacon is the CIO and co-founder of GitHub Inc, the popular developer tool and code hosting service. Scott has been involved in the Git community for many years, compiling the Git Community Book, maintaining the main Git website and writing two early and popular books on learning Git, both of which are open sourced.
Scott writes and speaks around the world both about Git and about running and growing a startup company.

Ben Straub (1979–) was born in Wyoming, and lived all over the American west before finding home in Portland, Oregon. His career as a software engineer has been widely varied, from embedded firmware and drivers to rich native applications to websites for energy companies. He speaks and teaches internationally, and evangelizes for better software practices and sane working environments for creative people. He lives with his wife, two children, and two dogs.
Customer reviews
Reviewed in the United States on November 4, 2017
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
I got the Kindle version of this E-book to try reading on E-ink as opposed to illuminated tablet. Unfortunately, the indentations of the shell commands in this book are so far off that I rely on the freely available web version to actually read it.
Content Review:
That said, the content so far (I'm largely through Chapter 7: Git Tools) is excellent. The authors do a good job at giving you sample commands that you probably care to learn more about, rather than making each chapter a desk reference. I've already used my knowledge of branching, merging, fast-forwarding, and resetting at work, and had a chance to use string search through commits to quickly identify when a feature was added to a codebase we consume.
That said, as another reviewer has pointed out, there are some rather confusing statements scattered here and there. Because the authors were too familiar with the material, they didn't see certain ambiguities they were injecting into the text. These probably won't get fixed unless someone takes careful notes as they go, and submits the whole set back upstream.
Another problem is that there was some sloppiness in editing this second edition of the book. Occasionally, some example commands are left out. Or some object labeling is clearly wrong in the text. Or some figure is reprinted a second time over a different caption instead of the correct figure being included for that second caption. The thing to know is that when you encounter these situations, you can go on-line and download the current PDF copy into your browser, and look there for the corrected presentation. Yes, this process is somewhat annoying, but if I had to weigh the overall effect, I still prefer a printed copy for the initial long read-through to learn the tool.
Although I am comfortable with various graphical wrappers, I've also always prefered the Git Bash interface, perhaps because I've always liked Bash's simplicity and elegance, having played around with various flavours of Linux over the years.
With that out of the way, what did I think of this book?
I thought I was pretty knowledgable about Git before. I was wrong.
This book is a fantastic reference, and it showed me that the things I was using Git for barely constitute 10% of everything it's capable of. It's not like I've been doing this <i>wrong</i> necessarily; it's just that there are so many better ways to achieve many of the things I've been trying to do. For example, I knew about rebasing, but I've always been a bit afraid of it. I'm going to be using it more from now on (although as the book points out, I'm going to avoid rebasing anything I've already pushed up).
I also can't tell you how many times I've made a commit, forgot to add a file, and then had to make a second commit immediately afterwards. I'll be using <b>git commit --amend</b> more often now.
Finally, I can't wait for an excuse to use <b>git bisect</b> to find the exact commit where something stopped working!
Another thing I never really understood is why you would use <b>fetch</b> and not <b>pull</b>. Although I now understand the difference much more clearly, I'm still going to keep using <b>pull</b> (perhaps with <b>--rebase</b>, though), since I don't remember ever being in a situation where I had more than one remote for my repository.
This book is staying on my e-reader, and I'll be referring back to it constantly.
On the downside, the formatting of the Kindle Edition isn't great. I like to read white text on a black background because of my visual disability--I need the contrast--but for some reason, clickable URLs in this book (and there are many) are coloured in dark orange. Also, the code samples are a bit difficult to follow at times, because they're indented and don't flow very well on the large font size I tend to use.
Speaking of code samples, all git commands embedded in the narrative are formatted in fixed-pitch font (which is a good thing), but that formatting is inconsistent, so you sometimes see things which you think are supposed to be part of the command, but they're actually part of the narrative, or vice versa.
And the index at the end isn't linked, which makes it completely useless since there's no way to click on a term to go directly to that chapter.
Other than that, it's an entertaining and informative read. I nodded and smiled a few times, as the authors describe some pain I've already been through, but I stared at the screen and went "Wow! I never knew that." many more times that that.
This book has given me so many reasons to hold git high above all other version control systems.
Top reviews from other countries
*BUT* this version on the Kindle store contains very poor formatting in the command line examples to the point where it's very hard to read. The table of contents is also top-level only with no sub-topics.
The differences are so large I highly recommend downloading the latest version from the official web site. Search for pro git ebook english chacon straub and it should be at the top of the results (Amazon doesn't allow URLs in reviews).
The mobi format version will work fine in Kindle readers and is a great improvement on the Kindle store version, though you will lose out on syncing bookmarks and notes.
Both versions are labelled 'Second Edition'. Hard to compare the versions directly but the web version appears to be more recent. The web version is Version 2.1.153, 2019-06-27. The Kindle store version is labelled ISBN 978-1-4842-0077-3e-ISBN 978-1-4842-0076-6 DOI 10.1007/978-1-4842-0076-6 © Apress 2014.
So good book, but I gave it to the charity shop.







