开发工具:
文件大小: 11mb
下载次数: 0
上传时间: 2019-07-28
详细说明:就是资源名称描述的那样,,Pro Git 英文版pdf下载, 包括目录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
14
GitWeb
116
Gitlab
118
Third Party Hosted Options
,,..122
Summary.......
122
Distributed git
123
Distributed workflows..,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,
.,,,,,...123
Contributing to a Project
126
Maintaining a Project
148
Summary....,..
163
Github
164
Account Setup and Configuration..........
164
Contributing to a project
169
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
,,346
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
Packfiles
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 visual studio code
479
Git in eclipse
..479
Git in sublime text
.,,,,,.,480
Git in bash
480
Git in zsh
,482
Git in power shell
484
Summary
485
Appendix B: Embedding Git in your Applications
...486
Command-line git
486
Libgit2..,,,,,,
,..486
JIt
,,,,,.,491
go-git
495
Dulwich
..,,496
Appendix C: Git Commands
498
Setup and Config
498
Getting and Creating Projects
499
Basic snapshotting
500
Branching and merging....
502
Sharing and updating projects
504
Inspection and Comparison
506
Debugging
507
Patching
507
Email
508
External Systems
509
Administration
510
Plumbing commands
.,,,,,...511
Index
512
LIcence
This work is licensed under the Creative Commons attribution -Non commercial-ShareAlike 3.0
UnportedLicenseToviewacopyofthislicensevisithttps://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
he other large change in the time since the last publishing has been the development and rise of
thehttpprotocolforGitnetworktransactionsMostoftheexamplesinthebookhavebeen
changed to Http from Ssh because it's so much simpler
It's been amazing to watch Git grow over the past few years from a relatively obscure version
control system to basicaly 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
than the one i was on
Now, years later, I'm a contributor to a major Git implementation, Pve 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 Josephine, who will support me when I'm too old to know what's going on.
Scott
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.