Version Control with Git: Powerful tools and techniques for collaborative software development, 2/e (Paperback)

Jon Loeliger, Matthew McCullough



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




  • 學習如何在幾個真實世界的開發場景中使用Git

  • 深入了解Git的常見用例、初始任務和基本功能

  • 將系統用於集中式和分散式版本控制

  • 學習如何處理合併、衝突、補丁和差異

  • 應用高級技巧,如rebase、hooks和處理子模塊的方法

  • 與Subversion(SVN)存儲庫互動,包括從SVN轉換到Git

  • 通過GitHub導航、使用和貢獻開源項目