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
  2. Table of Contents
  3. What Readers Are Saying About Pragmatic Guide to Git
  4. Acknowledgments
  5. 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
  6. Part 1: Getting Started
    1. Installing Git
    2. Configuring Git
    3. Creating a New Repository
    4. Creating a Local Copy of an Existing Repository
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. Part 8: Moving Beyond the Basics
    1. Exporting Your Repository
    2. Doing Some Git Housekeeping
    3. Syncing with Subversion
    4. Initializing Bare Repositories
  14. Appendix 1: Glossary
    1. You May Be Interested In…

Product information

  • Title: Pragmatic Guide to Git
  • Author(s): Travis Swicegood
  • Release date: November 2010
  • Publisher(s): Pragmatic Bookshelf
  • ISBN: 9781680504163