Description
Version Control with Git takes you step-by-step through ways to track, merge, and manage software projects, using this highly flexible open-source version control system. Git permits practically an infinite variety of methods for development and collaboration, but its flexibility also means that some users don't understand how to use it to best advantage. This book offers tutorials on ways to use it, as well as friendly yet rigorous advice to help you navigate Git's many functions.
Full Description
Table of Contents
-
Chapter 1 Introduction
-
Background
-
The Birth of Git
-
Precedents
-
Time Line
-
What’s in a Name?
-
-
Chapter 2 Installing Git
-
Using Linux Binary Distributions
-
Obtaining a Source Release
-
Building and Installing
-
Installing Git on Windows
-
-
Chapter 3 Getting Started
-
The Git Command Line
-
Quick Introduction to Using Git
-
Configuration Files
-
Inquiry
-
-
Chapter 4 Basic Git Concepts
-
Basic Concepts
-
Object Store Pictures
-
Git Concepts at Work
-
-
Chapter 5 File Management and the Index
-
It’s All About the Index
-
File Classifications in Git
-
Using git add
-
Some Notes on Using git commit
-
Using git rm
-
Using git mv
-
A Note on Tracking Renames
-
The .gitignore File
-
A Detailed View of Git’s Object Model and Files
-
-
Chapter 6 Commits
-
Atomic Changesets
-
Identifying Commits
-
Commit History
-
Finding Commits
-
-
Chapter 7 Branches
-
Reasons for Using Branches
-
Branch Names
-
Using Branches
-
Creating Branches
-
Listing Branch Names
-
Viewing Branches
-
Checking Out Branches
-
Deleting Branches
-
-
Chapter 8 Diffs
-
Forms of the git diff Command
-
Simple git diff Example
-
git diff and Commit Ranges
-
git diff with Path Limiting
-
Comparing How Subversion and Git Derive diffs
-
-
Chapter 9 Merges
-
Merge Examples
-
Working with Merge Conflicts
-
Merge Strategies
-
How Git Thinks About Merges
-
-
Chapter 10 Altering Commits
-
Caution About Altering History
-
Using git reset
-
Using git cherry-pick
-
Using git revert
-
reset, revert, and checkout
-
Changing the Top Commit
-
Rebasing Commits
-
-
Chapter 11 Remote Repositories
-
Repository Concepts
-
Referencing Other Repositories
-
Example Using Remote Repositories
-
Remote Repository Operations in Pictures
-
Adding and Deleting Remote Branches
-
Remote Configuration
-
Bare Repositories and git push
-
Publishing Repositories
-
-
Chapter 12 Repository Management
-
Repository Structure
-
Living with Distributed Development
-
Knowing Your Place
-
Working with Multiple Repositories
-
-
Chapter 13 Patches
-
Why Use Patches?
-
Generating Patches
-
Mailing Patches
-
Applying Patches
-
Bad Patches
-
Patching Versus Merging
-
-
Chapter 14 Hooks
-
Installing Hooks
-
Available Hooks
-
-
Chapter 15 Combining Projects
-
The Old Solution: Partial Checkouts
-
The Obvious Solution: Import the Code into Your Project
-
The Automated Solution: Checking Out Subprojects Using Custom Scripts
-
The Native Solution: gitlinks and git submodule
-
-
Chapter 16 Using Git with Subversion Repositories
-
Example: A Shallow Clone of a Single Branch
-
Pushing, Pulling, Branching, and Merging with git svn
-
Miscellaneous Notes on Working with Subversion
-
-
Colophon
Product Details
- Title:
- Version Control with Git
- By:
- Jon Loeliger
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- May 2009
- Ebook Release:
- May 2009
- Pages:
- 336
- Print ISBN:
- 978-0-596-52012-0
- | ISBN 10:
- 0-596-52012-3
- Ebook ISBN:
- 978-0-596-80243-1
- | ISBN 10:
- 0-596-80243-9
Customer Reviews
Colophon
