Version Control with Git - Jon Loeliger.pdf
(
14728 KB
)
Pobierz
SECOND EDITION
Version Control with Git
Jon Loeliger and Matthew McCullough
Beijing
•
Cambridge
•
Farnham
•
Köln
•
Sebastopol
•
Tokyo
Version Control with Git, Second Edition
by Jon Loeliger and Matthew McCullough
Copyright © 2012 Jon Loeliger. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions
are also available for most titles (http://my.safaribooksonline.com). For more information, contact our
corporate/institutional sales department: 800-998-9938 or
corporate@oreilly.com.
Editor:
Andy Oram
Production Editor:
Iris Febres
Copyeditor:
Absolute Service, Inc.
Proofreader:
Absolute Service, Inc.
May 2009:
August 2012:
First Edition.
Second Edition.
Indexer:
Nancy Guenther on behalf of Potomac
Cover Designer:
Karen Montgomery
Interior Designer:
David Futato
Illustrators:
Robert Romano and Rebecca Demarest
Indexing, LLC
Revision History for the Second Edition:
2012-08-03
First release
2013-06-21
Second release
See
http://oreilly.com/catalog/errata.csp?isbn=9781449316389
for release details.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of
O’Reilly Media, Inc.
Version Control with Git,
the image of the image of a long-eared bat, and related
trade dress are trademarks of O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a
trademark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and authors assume
no responsibility for errors or omissions, or for damages resulting from the use of the information con-
tained herein.
ISBN: 978-1-449-31638-9
[LSI]
1371752335
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Background
The Birth of Git
Precedents
Timeline
What’s in a Name?
1
2
4
6
7
2. Installing Git . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Using Linux Binary Distributions
Debian/Ubuntu
Other Binary Distributions
Obtaining a Source Release
Building and Installing
Installing Git on Windows
Installing the Cygwin Git Package
Installing Standalone Git (msysGit)
9
9
10
11
11
13
14
14
3. Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
The Git Command Line
Quick Introduction to Using Git
Creating an Initial Repository
Adding a File to Your Repository
Configuring the Commit Author
Making Another Commit
Viewing Your Commits
Viewing Commit Differences
Removing and Renaming Files in Your Repository
Making a Copy of Your Repository
Configuration Files
19
21
21
22
24
24
25
26
26
27
28
iii
Plik z chomika:
jonedave3
Inne pliki z tego folderu:
V Arious - Pro C# 7 - With .NET and .NET Core.pdf
(26765 KB)
V Arious - Pro C# 7 - With .NET and .NET Core.epub
(8944 KB)
V 7, 2004, Ireland, 1921-1984 - ed. J.R. Hill.mobi
(4528 KB)
V Arious - Pro Spring 5, 5th edition.pdf
(9080 KB)
Vacation Guide to the Solar Sys - Olivia Koski.epub
(29511 KB)
Inne foldery tego chomika:
@other-lang
@packed
0
1
2-1
Zgłoś jeśli
naruszono regulamin