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 virtually an infinite variety of methods for development and collaboration. Created by Linus Torvalds to manage development of the Linux kernel, it's become the principal tool for distributed version control. But Git's flexibility also means that some users don't understand how to use it to their best advantage. Version Control with Git offers tutorials on the most effective ways to use it, as well as friendly yet rigorous advice to help you navigate Git's many functions.
With this book, you will:
* Learn how to use Git in several real-world development environments
* Gain insight into Git's common-use cases, initial tasks, and basic functions
* Understand how to use Git for both centralized and distributed version control
* Use Git to manage patches, diffs, merges, and conflicts
* Acquire advanced techniques such as rebasing, hooks, and ways to handle submodules (subprojects)
* Learn how to use Git with Subversion
Git has earned the respect of developers around the world. Find out how you can benefit from this amazing tool with Version Control with Git.
Sprache
Verlagsort
Zielgruppe
Produkt-Hinweis
Illustrationen
black & white illustrations
Maße
Höhe: 234 mm
Breite: 180 mm
Dicke: 17 mm
Gewicht
ISBN-13
978-0-596-52012-0 (9780596520120)
Schweitzer Klassifikation
Jon Loeliger is a Software Engineer at Freescale Semiconductor, Inc., where he works on Open Source projects such as Linux, U-Boot, and Git. He has given tutorial presentations on Git at the Ottawa Linux Symposium, Linux World Conference, and MontaVista Vision Conference, and has written several papers about Git for Linux Magazine.
Inhaltsverzeichnis
* 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