开发工具:
文件大小: 11mb
下载次数: 0
上传时间: 2019-03-04
详细说明:GIT 资料,仅供参考。大家有需要可以到GIT官网上仔细查看。
我没找到怎么调整积分,如果有需要也可以EMAIL:weihairenbo163.com,大家互相学习,一起进步。Table of contents
Licence
Preface by Scott Chacon
Preface by Ben Straub
Dedications
Contributors,,,,,,,,,,,,,,,,,,,,,
Introduction
Getting started
2345799
About version control
A Short History of Git
13
What is git?
13
The Command line
17
Installing git
...17
First-Time Git Setup
.20
Getting Help
23
Summary
24
Git basics
25
Getting a Git Repository
25
Recording Changes to the Repository
,,,,..27
Viewing the Commit History
Undoing Things
,,46
Working with Remotes
49
Tagging
54
Git aliases
..59
Summary
..61
Git branching
62
Branches in a nutshell
..62
Basic branching and merging
69
Branch management
77
Branching workflows
78
Remote branches
....82
Rebasing.......
.92
Summary
101
Git on the server
102
The protocols
..102
Getting git on a server
107
Generating Your SSH Public Key
,,,,,,,,,,,,,,,,,,.109
Setting up the server
..110
Git daemon
113
Smarthttp
.115
GitWeb
,,,,,,,,,,,..116
Gitlab
118
Third Party Hosted Options
,122
Summary.......
.,,,,,,,,,,,,,,,..123
Distributed git
124
Distributed workflows.,,,,,,,,,,,,,,,,,,,,,,,,,,,,
..124
Contributing to a project
127
Maintaining a Project
149
Summary.............
164
GitHub
165
Account Setup and configuration
165
Contributing to a Project .............
170
Maintaining a Project
189
Managing an organization
,,,,,,,,....204
Scripting Github
207
Summary
..216
Git Tools
..,,.217
Revision selection
217
Interactive Staging..............
..225
Stashing and cleaning
229
Signing Your Work
235
Searching.......
..239
Rewriting history
243
Reset Demystified
,,,,,,,,,,...251
Advanced merging
271
Rerere
.290
Debugging with Git.............,..................... 296
Submodules
...299
Bundling
..318
Replace
322
Credential Storage
.330
Summary............................
,,,,,,,,,,,,.,335
Customizing git
336
Git Configuration
336
Git Attributes
Git hooks
.354
An Example Git-Enforced policy.........
357
Summary......
366
Git and other Systems
367
Git as a client
...,,.,,,,..367
Migrating to git
413
Summary..............
431
Git internals
432
Plumbing and porcelain
,,432
Git objects
..,,,.,,,,,,,,,,,,433
Git References
443
Backfile
量最1BB单1单B
,,,,,,.,447
The Respec
450
Transfer protocols
453
Maintenance and Data Recovery
.,458
Environment variables
465
Summary...
.471
Appendix A: Git in Other Environments
472
Graphical Interfaces
472
Git in visual studio
,,,,,,.,,,.∴.,477
Git in eclipse
479
Git in bash
,,,,,,,,.479
Git in zsh
.,,,,.480
Git in power shell
482
Summary
,,.,,,,,,484
Appendix B: Embedding Git in your Applications
485
Command-line git
485
Libgit2
.,485
jIt
490
go-git
,,,,,,,,,,,.,494
Dulwich
495
Appendix C: Git Commands
.497
Setup and Config
497
Getting and creating Projects
498
Basic Snapshotting
,.,,,,,..499
Branching and merging
501
Sharing and Updating Projects
503
Inspection and Comparison...,.................
,,,,,,,,,,,,..505
Debugging
506
Patching
506
Email
,,,,,,,,,,,,,,,,,,,,,,,..507
External Systems
.508
Administration
,,,,,,,,,,,,,,,509
Plumbing Commands
..510
Index
..511
Licence
This work is licensed under the creative commons attribution - non commercial-sharealike 3.0
UnportedLicenseToviewacopyofthislicensevisithttp:/creativecommons.org/licenses/by-nc-sa/
3.0/or send a letter to Creative Commons, PO Box 1866, Mountain View, Ca 94042, USA
Preface by Scott Chacon
Welcome to the second edition of Pro Git. The first edition was published over four years ago now
Since then a lot has changed and yet many important things have not. While most of the core
commands and concepts are still valid today as the Git core team is pretty fantastic at keeping
things backward compatible, there have been some significant additions and changes in the
community surrounding Git. The second edition of this book is meant to address those changes and
update the book so it can be more helpful to the new user.
When I wrote the first edition, Git was still a relatively difficult to use and barely adopted tool for
the harder core hacker. It was starting to gain steam in certain communities, but had not reached
anywhere near the ubiquity it has today. Since then, nearly every open source community has
adopted it. Git has made incredible progress on Windows, in the explosion of graphical user
interfaces to it for all platforms, in IDE support and in business use. The Pro Git of four years ago
knows about none of that one of the main aims of this new edition is to touch on all of those new
frontiers in the Git community.
The Open Source community using Git has also exploded. When I originally sat down to write the
book nearly five years ago (it took me a while to get the first version out), I had just started working
at a very little known company developing a Git hosting website called GitHub. At the time of
publishing there were maybe a few thousand people using the site and just four of us working on it
As I write this introduction, GitHub is announcing our 10 millionth hosted project, with nearly 5
million registered developer accounts and over 230 employees. Love it or hate it, GitHub has
heavily changed large swaths of the Open Source community in a way that was barely conceivable
when i sat down to write the first edition
I wrote a small section in the original version of Pro Git about GitHub as an example of hosted Git
which i was never very comfortable with. i didn,'t much like that I was writing what I felt was
essentially a community resource and also talking about my company in it. While I still don't love
that conflict of interests, the importance of GitHub in the Git community is unavoidable. Instead of
an example of Git hosting, I have decided to turn that part of the book into more deeply describing
what GitHub is and how to effectively use it. If you are going to learn how to use Git then knowing
how to use GitHub will help you take part in a huge community, which is valuable no matter which
Git host you decide to use for your own code
The other large change in the time since the last publishing has been the development and rise of
thehttpprotocolforGitnetworktransactionsMostoftheexamplesinthebookhavebeen
changedtohttpfromsshbecauseit'ssomuchsimpler
It's been amazing to watch Git grow over the past few years from a relatively obscure version
control system to basically dominating commercial and open source version control. I'm happy that
Pro git has done so well and has also been able to be one of the few technical books on the market
that is both quite successful and fully open source
I hope you enjoy this updated edition of Pro git
Preface by Ben Straub
The first edition of this book is what got me hooked on git. This was my introduction to a style of
making software that felt more natural than anything I had seen before. I had been a developer for
several years by then, but this was the right turn that sent me down a much more interesting path
tha
an the one i was on
Now, years later, I'm a contributor to a major git implementation ive worked for the largest git
hosting company, and I've traveled the world teaching people about Git. When Scott asked if I'd be
nterested in working on the second edition, I didn't even have to think
It's heen a great pleasure and privilege to work on this book. I hope it helps you as much as it did
me
Dedications
To my wife, Becky, without whom this adventure never would have begun. -Ben
This edition is dedicated to my girls. To my wife Jessica who has supported me for all of these years
and to my daughter osephine, who will support me when I'm too old to know what's going on.--
Scott
Contributors
Since this is an Open Source book, we have gotten several errata and content changes donated over
the years. Here are all the people who have contributed to the english version of pro Git as an open
source project. Thank you everyone for helping make this a better book for everyone
4wk-
Joris valette
Severino lo「i1LaJ
Adam laflamme
Josh Buster
Shengbin Meng
Adrien ollier
Joshua Webb
Siarhei krukau
Akron K
Justin clift
Skyper
Aleh Suprunovich
Kaartic sivaraam
Snehal shekatkar
ALexander bezzuboy
Katrin leinweber
ong
Alexandre Garnier
Kausar mehmood
Stephan van Maris
Andrei dascalu
Kenneth kin Lum
Steven roddis
Andrew mac「ie
KLaus frank
Sudarsangp
Andrew metcalf
Kristijan"Fremen" Velkovski Suhaib Mujahid
Andrew Mur phy
Krzysztof Szumny
Sven Selberg
AndyGee
Kyrylo Yatsenko
Thani
Anne TheAgile
Lars vogel
Thomas ackermann
Anthony Loiseau
Laxman
Thomas hartmann
Anton trunov
Lazar 95
Tom Schad
Antonello piemonte
Leonard laszlo
Tomoki Aonuma
Antonino Ingargiola
Linus heckmann
Tvi「us
Atul varma
Logan Hasson
Tyler Cipriani
Ben sima
Louise Corrigan
Vadim Markovtsev
Benjamin Dopplinger
uc Mor in
Vangelis Katsikaros
Borek bernard
Lukas rollin
ctor ma
Brett cannon
Marcin Sedtak-Jakubowski
Vitaly kuznetsov
Buzet
Marius zilenas
William Gathoye
C Nguyen
Markus karg
WiLLiam turrell
Cadel watson
Marti bolivar
WLodek BzyL
Carlos martin nieto
Mashrur mia(Sa'ad)
Xavier bonaventura
Chaitanya gurrapu
Masood fallahpoor
Yann Soubeyrand
Changwoo park
Mathieu dubreuil
Yue Lin ho
Christoph prokop
Matthew miner
Yunhai luo
Christopher Wilson
Matthieu Moy
Yusuke sato
Cory Donnelly
Michael macaskill
ajax333221
Cullen rhodes
Michael sheave
alex-koziell
Michael welch
allen joslin
Damien Tour noud
Michiel van der Wuli
atalakam
Dan schmidt
Mike charles
ambo
Daniel shahaf
Mike pennisi
brotherben
Daniel sturm
Mike thibodeau
Daniele tricoli
Niels Widger
devwebcl
Danny Lin
Nils ReuSe
dulski
David rogers
OLLeg samoy lov
evanderiel
Davide ange loco la
Owen
eyherabh
Denis savitski
Pablo Schlapfer
fLip111
Di amondex
PascaL Berger
flyingzumwalt
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.