O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Pragmatic Guide to Git

Book Description

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.

Table of Contents

  1. Pragmatic Guide to Git
    1. Copyright
    2. For the Best Reading Experience...
    3. Table of Contents
    4. What Readers Are Saying About Pragmatic Guide to Git
    5. Acknowledgments
    6. Introduction
      1. Who Is This Book For?
      2. How to Read This Book
      3. How Git Is Different
      4. The Git Workflow
      5. Online Resources
    7. Part 1: Getting Started
      1. Installing Git
      2. Configuring Git
      3. Creating a New Repository
      4. Creating a Local Copy of an Existing Repository
    8. Part 2: Working with Git
      1. Seeing What Has Changed
      2. Staging Changes to Commit
      3. Committing Changes
      4. Ignoring Files
      5. Undoing Uncommitted Changes
      6. Moving Files in Git
      7. Deleting Files in Git
      8. Sharing Changes
    9. Part 3: Organizing Your Repository with Branches and Tags
      1. Creating and Switching Branches
      2. Viewing Branches
      3. Merging Commits Between Branches
      4. Rewriting History by Rebasing
      5. Deleting Branches
      6. Tagging Milestones
    10. Part 4: Working with a Team
      1. Adding and Removing Remotes
      2. Retrieving Remote Changes
      3. Retrieving Remote Changes, Part II
      4. Sending Changes to Remotes
      5. Handling Remote Tags and Branches
    11. Part 5: Branches and Merging Revisited
      1. Handling Conflicts
      2. Handling Conflicts with a GUI
      3. Temporarily Hiding Changes
      4. Cherry-Picking Commits
      5. Controlling How You Replay Commits
      6. Moving Branches
    12. Part 6: Working with the Repository’s History
      1. Viewing the Log
      2. Filtering the Log Output
      3. Comparing Differences
      4. Generating Statistics About Changes
      5. Assigning Blame
    13. Part 7: Fixing Things
      1. Fixing Commits
      2. Reverting Commits
      3. Resetting Staged Changes and Commits
      4. Erasing Commits
      5. Finding Bugs with bisect
      6. Retrieving “Lost” Commits
    14. Part 8: Moving Beyond the Basics
      1. Exporting Your Repository
      2. Doing Some Git Housekeeping
      3. Syncing with Subversion
      4. Initializing Bare Repositories
    15. Appendix 1: Glossary
      1. You May Be Interested In…