Book description
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
Publisher resources
Table of contents
- Preface
- 1. Introduction
- 2. Installing Git
- 3. Getting Started
- 4. Basic Git Concepts
- 5. File Management and the Index
- 6. Commits
- 7. Branches
- 8. Diffs
- 9. Merges
- 10. Altering Commits
- 11. The Stash and the Reflog
- 12. Remote Repositories
-
13. Repository Management
- A Word About Servers
- Publishing Repositories
- Repository Publishing Advice
- Repository Structure
- Living with Distributed Development
- Knowing Your Place
- Working with Multiple Repositories
- 14. Patches
- 15. Hooks
- 16. Combining Projects
- 17. Submodule Best Practices
- 18. Using Git with Subversion Repositories
- 19. Advanced Manipulations
-
20. Tips, Tricks, and Techniques
- Interactive Rebase with a Dirty Working Directory
- Remove Left-Over Editor Files
- Garbage Collection
- Split a Repository
- Tips for Recovering Commits
- Subversion Conversion Tips
- Manipulating Branches from Two Repositories
- Recovering from an Upstream Rebase
- Make Your Own Git Command
- Quick Overview of Changes
- Cleaning Up
- Using git-grep to Search a Repository
- Updating and Deleting refs
- Following Files that Moved
- Keep, But Don’t Track, This File
- Have You Been Here Before?
-
21. Git and GitHub
- Repo for Public Code
- Creating a GitHub Repository
- Social Coding on Open Source
- Watchers
- News Feed
- Forks
- Creating Pull Requests
- Managing Pull Requests
- Notifications
- Finding Users, Projects, and Code
- Wikis
- GitHub Pages (Git for Websites)
- In-Page Code Editor
- Subversion Bridge
- Tags Automatically Becoming Archives
- Organizations
- REST API
- Social Coding on Closed Source
- Eventual Open Sourcing
- Coding Models
- GitHub Enterprise
- GitHub in Sum
- Index
- About the Authors
- Colophon
- Copyright
Product information
- Title: Version Control with Git, 2nd Edition
- Author(s):
- Release date: August 2012
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449316389
You might also like
book
Version Control with Git, 3rd Edition
Track, branch, merge, and manage code revisions with Git, the free and open source distributed version …
book
Git Version Control Cookbook
A series of practical recipes to simplify the Git learning experience and increase your productivity when …
book
Git for Programmers
Learn to track, branch, merge, and manage code revisions for real-world development scenarios Key Features Master …
video
Git Essentials LiveLessons, 2nd Edition
6 Hours of Video Instruction Hands-On Approach to Learning the Git Version Control System Overview provides …