Pragmatic Guide to Git

( 2 )

Overview

Need to learn how to wrap your head around Git, but don't need a lot of hand holding? Grab this book if you're new to Git, not to the world of programming. Git tasks displayed on two-page spreads provide all the context you need, without the extra fluff.

Get up to speed on Git right now with Pragmatic Guide to Git. Task-oriented two-page spreads get you up and running with minimal fuss. Each left-hand page dives into the underlying implementation for each task. The right-hand ...

See more details below
Paperback
$18.50
BN.com price
(Save 26%)$25.00 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (16) from $13.35   
  • New (12) from $14.12   
  • Used (4) from $13.35   
Sending request ...

Overview

Need to learn how to wrap your head around Git, but don't need a lot of hand holding? Grab this book if you're new to Git, not to the world of programming. Git tasks displayed on two-page spreads provide all the context you need, without the extra fluff.

Get up to speed on Git right now with Pragmatic Guide to Git. Task-oriented two-page spreads get you up and running with minimal fuss. Each left-hand page dives into the underlying implementation for each task. The right-hand page contains commands that focus on the task at hand, and cross references to other tasks that are related. You'll find what you need fast.

Git is rapidly becoming the de-facto standard for the open source community. Its excellent merging capabilities, coupled with its speed and relative ease of use, make it an indispensable tool for any developer. New Git users will learn the basic tasks needed to work with Git every day, including working with remote repositories, dealing with branches and tags, exploring the history, and fixing problems when things go wrong. If you're already familiar with Git, this book will be your go-to reference for Git commands and best practices.

You won't find a more practical approach to learning Git than Pragmatic Guide to Git.

Read More Show Less

Editorial Reviews

From the Publisher
"With two years of experience with Git, I thought I would have known most everything in Pragmatic Guide to Git. After reading it cover to cover, I learned that’s not the case. It’s a well-organized collection of useful Git techniques for all audiences."

—Luke Pillow, Software engineer, pillowfactory.org

"This book is a must-have for anyone using Git or just getting started with Git. It has saved me time in finding the best practices for managing my Git repositories and will sit on my bookshelf as the go-to resource for anything Git."

—John Mertic, Senior software engineer, SugarCRM

"Git can be intimidating and frustrating to new users. Pragmatic Guide to Git alleviates that pain with a straightforward, concise walk-through that arms readers with exactly what they need to use Git productively."

—Luigi Montanez, Software Developer, Sunlight Labs

Read More Show Less

Product Details

  • ISBN-13: 9781934356722
  • Publisher: Pragmatic Programmers, LLC, The
  • Publication date: 11/22/2010
  • Edition number: 1
  • Pages: 160
  • Sales rank: 778,095
  • Product dimensions: 6.00 (w) x 8.90 (h) x 0.60 (d)

Meet the Author

Travis Swicegood is a professional programmer; owner of Domain51, a web and mobile development company in Lawrence, Kansas; and the author of Pragmatic Version Control Using Git, the first published book on Git. He's passionate about open source development and is active in communities across several languages.

Read More Show Less

Table of Contents

Acknowledgments xi

Introduction xiii

Who Is This Book For? xiii

How to Read This Book xiv

How Git Is Different xvi

The Git Workflow xvii

Online Resources xx

I Getting Started 1

Task 1 Installing Git 4

Task 2 Configuring Git 6

Task 3 Creating a New Repository 8

Task 4 Creating a Local Copy of an Existing Repository 10

II Working with Git 13

Task 5 Seeing What Has Changed 18

Task 6 Staging Changes to Commit 20

Task 7 Committing Changes 22

Task 8 Ignoring Files 24

Task 9 Undoing Uncommitted Changes 26

Task 10 Moving Files in Git 28

Task 11 Deleting Files in Git 30

Task 12 Sharing Changes 32

III Organizing Your Repository with Branches and Tags 35

Task 13 Creating and Switching Branches 42

Task 14 Viewing Branches 44

Task 15 Merging Commits Between Branches 46

Task 16 Rewriting History by Rebasing 48

Task 17 Deleting Branches 50

Task 18 Tagging Milestones 52

IV Working with a Team 55

Task 19 Adding and Removing Remotes 60

Task 20 Retrieving Remote Changes 62

Task 21 Retrieving Remote Changes, Part II 64

Task 22 Sending Changes to Remotes 66

Task 23 Handling Remote Tags and Branches 68

V Branches and Merging Revisited 71

Task 24 Handling Conflicts 74

Task 25 Handling Conflicts with a GUI 76

Task 26 Temporarily Hiding Changes 78

Task 27 Cherry-Picking Commits 80

Task 28 Controlling How You Replay Commits 82

Task 29 Moving Branches 84

VI Working with the Repository's History 87

Task 30 Viewing the Log 92

Task 31 Filtering the Log Output 94

Task 32 Comparing Differences 96

Task 33 Generating Statistics About Changes 98

Task 34 Assigning Blame 100

VII Fixing Things 103

Task 35 Fixing Commits 106

Task 36 Reverting Commits 108

Task 37 Resetting Staged Changes and Commits 110

Task 38 Erasing Commits 112

Task 39 Finding Bugs with bisect 114

Task 40 Retrieving "Lost" Commits 116

VIII Moving Beyond the Basics 119

Task 41 Exporting Your Repository 122

Task 42 Doing Some Git Housekeeping 124

Task 43 Syncing with Subversion 126

Task 44 Initializing Bare Repositories 128

A Glossary 131

Index 135

Read More Show Less

Customer Reviews

Average Rating 4
( 2 )
Rating Distribution

5 Star

(0)

4 Star

(2)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Anonymous

    Posted August 29, 2014

    Good basic information

    I am new to Git. So far, I have found the book resourceful for my beginning needs.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted December 6, 2011

    Informative

    informative, but could add a bit more and still be considered a concise pragmatic guide.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)