Publisher: O'Reilly Media Released: May 2009 Pages: 336
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. |
-
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 |
- Title:
- Version Control with Git
- By:
- Jon Loeliger
- Publisher:
- O'Reilly Media
- Formats:
-
- Print
- Ebook
- Safari Books Online
- Print:
- June 2009
- Ebook:
- 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
|
-
Jon Loeliger Jon Loeliger is a freelance software engineer who contributes to Open Source projects such as Linux, U-Boot, and Git. He has given tutorial presentations on Git at many conferences including Linux World, and has written several papers on Git for Linux Magazine. In prior lives, Jon has spent a number of years developing highly optimizing compilers, router protocols, Linux porting, and the occasional game. Jon holds degrees in Computer Science from Purdue University. In his spare time, he is a home winemaker. View Jon Loeliger's full profile page. |
Colophon The animal on the cover of Version Control with Git is a long-eared bat. It is a fairly large bat that is common and widespread throughout Great Britain and Ireland. It can also be found in Japan. Often seen in colonies of 50 to a 100 or more, it lives in open woodlands, as well as parks and gardens and in spaces under houses and church roofs. It also hibernates in caves, where it is more solitary in habit. The long-eared bat is a medium-size bat with a broad wingspan of about 25 cm. Its ears are very long and have a very distinctive fold-their inner edges meet each other on the top of the head, and their outer edges end just behind the angle of the mouth. When the bat sleeps, it folds its ears under its wings. During flight, the ears are pointing forward. Its fur is long, fluffy, and silky, extending a short way onto the surface of its wings. It is dusky brown in color on top and light or dirty brown in color below. Juveniles are pale grey, lacking the brown tinges of the adults. Their diet consists of flies, moths, and beetles. It glides among foliage, frequently hovering to scour for insects. When traveling to another tree, its flight is swift, strong, and close to the ground. Long-eared bats breed in autumn and spring. Pregnant females form nursery colonies of 100 or more in early summer, and the single young or twins are born in June and July. Bats are the only true flying mammals. Contrary to popular misconception, they are not blind-many can actually see very well. All British bats use echolocation to orient themselves at night; they emit bursts of sound that are of such high frequencies they are beyond the human range of hearing and are therefore called "ultrasound." The bats then listen to and interpret the echoes bounced back from objects around them (including prey), which allows them to build a "sound-picture" of their surroundings. Like all bats, this species is vulnerable to a number of threats, including the loss of roost sites, as hollow trees are often cut down if thought unsafe. Pesticide use has devastating effects, causing severe declines in insect abundance and contaminating food with potentially fatal toxins. Insecticides applied to timbers inside buildings where roosts occur are a particular danger-the initial treatment can wipe out whole colonies (spraying timber where bats are roosting is now illegal), but the effects of these chemicals can be lethal to bats for up to 20 years. In Britain, under the Wildlife and Countryside Act, it is illegal to intentionally kill, injure, take, or sell a bat; to possess a live bat or part of a bat; and to intentionally, recklessly damage, obstruct, or destroy access to bat roosts. Under the conservation regulations, it is an offense to damage or destroy breeding sites or resting places. Offenders can be charged up to 5,000 pounds per bat affected and be sentenced to six months imprisonment. |
|
Description
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By Roger Braunstein
February 2007
By Jerry Peek, Shelley Powers, Tim O'Reilly, Mike Loukides
October 2002
Ebook: $55.99
Print & Ebook: $82.49
Print: $74.99
By Erik T. Ray
September 2003
Ebook: $31.99
Print & Ebook: $43.95
Print: $39.95
|
Customer Reviews
1/23/2011 (3 of 3 customers found this review helpful) By Astron from Yekaterinburg, Russia - Easy to understand
- Helpful examples
- Well-written
8/18/2010 (2 of 2 customers found this review helpful) 4.0Good Read and Complete By Simon J Mudd from Madrid, Spain - Accurate
- Concise
- Easy to understand
- Well-written
8/11/2010 (2 of 2 customers found this review helpful) 5.0The best reference on Git By cstar from Paris, France About Me Developer, Sys Admin - Accurate
- Easy to understand
- Helpful examples
- Well-written
5/12/2010 (1 of 1 customers found this review helpful) 5.0Questions to check comprehension - Accurate
- Concise
- Helpful examples
- Well-written
3/19/2010 (7 of 7 customers found this review helpful) 5.0The best guide to Git wizardry By HackMan from Sofia, Bulgaria - Helpful examples
- Well-written
|
|
|