Pro Git - Scott Chacon.pdf
(
4970 KB
)
Pobierz
Pro Git
Scott Chacon
Pro Git
Copyright © 2009 by Scott Chacon
Permission is granted to copy, distribute and/or modify this document under the terms of the Creative
Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Apress (
) and the author(s) ask for your support by buying the print or eBook edition through any online or
retail outlet. A copy of the license is included in the section entitled “Creative Commons Legal Code.”
All rights reserved subject to the Creative Commons license.
ISBN-13 (pbk): 978-1-4302-1833-3
ISBN-13 (electronic): 978-1-4302-1834-0
Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1
The Git logo on this book’s cover comes from
, where
it is available under the GNU General Public License. It is available from
. You may redistribute it and/or modify it under the terms of the GPL (
), as published by the Free Software Foundation; either version 2 of the License, or
any later version.
Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence
of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark
owner, with no intention of infringement of the trademark.
Lead Editor: Duncan Parkes
Technical Reviewer: Shawn Pearce
Editorial Board: Clay Andres, Steve Anglin, Mark Beckner, Ewan Buckingham, Tony Campbell,
Gary Cornell, Jonathan Gennick, Michelle Lowman, Matthew Moodie, Jeffrey Pepper,
Frank Pohlmann, Ben Renow-Clarke, Dominic Shakeshaft, Matt Wade, Tom Welsh
Project Managers: Beth Christmas, Candace English
Copy Editor: Tiffany Taylor
Associate Production Director: Kari Brooks-Copony
Production Editor: Liz Berry
Compositor: Diana Van Winkle
Proofreader: Dan Shaw
Indexer: Julie Grady
Cover Designer: Anna Ishchenko
Manufacturing Director: Tom Debolski
Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor,
New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail
, or
visit
.
For information on translations, please contact Apress directly at 233 Spring Street, New York, New York,
10013, e-mail
, or visit
.
Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use.
eBook versions and licenses are also available for most titles. For more information, reference our Special
Bulk Sales–eBook Licensing web page at
.
The information in this book is distributed on an “as is” basis, without warranty. Although every precau-
tion has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability
to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indi-
rectly by the information contained in this work.
The source code for this book is available to readers at
.
I would like to dedicate this, my first print book, to my little girl, Josephine,
whose release date was nearly the same as this book’s.
Contents at a Glance
Foreword
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
About the Author
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
About the Technical Reviewer
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
Acknowledgments
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
Introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
CHAPTER 1
CHAPTER 2
CHAPTER 3
CHAPTER 4
CHAPTER 5
CHAPTER 6
CHAPTER 7
CHAPTER 8
CHAPTER 9
APPENDIX
Getting Started
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Git Basics
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Git Branching
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Git on the Server
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Distributed Git
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Git Tools
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Customizing Git
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Git and Other Systems
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Git Internals
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
Creative Commons Legal Code
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
INDEX
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
v
Plik z chomika:
jonedave3
Inne pliki z tego folderu:
Paula Deen Celebrates! - Paula Deen.epub
(14603 KB)
Pacific Northwests Best Trips 3.epub
(92587 KB)
P. G. Bell - The Train to Impossible Places.epub
(19719 KB)
P. R. Halmos - A Hilbert Space Problem Book (1974) [978-1-4615-9976-0].pdf
(26003 KB)
P Finnigan - Oracle Incident Response and Forensics.pdf
(2399 KB)
Inne foldery tego chomika:
@other-lang
@packed
0
1
2-1
Zgłoś jeśli
naruszono regulamin