Skip to content

Commit 31fd561

Browse files
committed
add introduction
1 parent 7270a69 commit 31fd561

File tree

3 files changed

+58
-1
lines changed

3 files changed

+58
-1
lines changed

atlas.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"LICENSE.asc",
66
"book/preface.asc",
77
"book/contributors.asc",
8+
"book/introduction.asc",
89
"book/toc.asc",
910
"book/01-introduction/1-introduction.asc",
1011
"book/02-git-basics/1-git-basics.asc",

book/introduction.asc

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
[preface]
2+
== Introduction
3+
4+
You’re about to spend several hours of your life reading about Git. Let’s take a minute to explain
5+
what we have in store for you. Here is a quick summary of the nine chapters of this book.
6+
7+
In *Chapter 1*, we’re going to cover Version Control Systems (VCSs) and Git basics—no
8+
technical stuff, just what Git is, why it came about in a land full of VCSs, what sets it apart, and
9+
why so many people are using it. Then, we’ll explain how to download Git and set it up for the
10+
first time if you don’t already have it on your system.
11+
12+
In *Chapter 2*, we will go over basic Git usage—how to use Git in the 80% of cases you’ll
13+
encounter most often. After reading this chapter, you should be able to clone a repository, see
14+
what has happened in the history of the project, modify files, and contribute changes. If the book
15+
spontaneously combusts at this point, you should already be pretty useful wielding Git in the time
16+
it takes you to go pick up another copy.
17+
18+
*Chapter 3* is about the branching model in Git, often described as Git’s killer feature. Here
19+
you’ll learn what truly sets Git apart from the pack. When you’re done, you may feel the need to
20+
spend a quiet moment pondering how you lived before Git branching was part of your life.
21+
22+
*Chapter 4* will cover Git on the server. This chapter is for those of you who want to set up Git
23+
inside your organization or on your own personal server for collaboration. We will also explore
24+
various hosted options if you prefer to let someone else handle that for you.
25+
26+
*Chapter 5* will go over in full detail various distributed workflows and how to accomplish
27+
them with Git. When you are done with this chapter, you should be able to work expertly with
28+
multiple remote repositories, use Git over e-mail and deftly juggle numerous remote branches
29+
and contributed patches.
30+
31+
*Chapter 6* covers the GitHub hosting service and tooling in depth. We cover signing up for and managing an account, creating and using Git repositories, common workflows to contribute to projects and to accept contributions to yours, GitHub's programmatic interface and lots of little tips to make your life easier in general.
32+
33+
*Chapter 7* is about advanced Git commands. Here you will learn about topics like mastering the scary 'reset' command, using binary
34+
search to identify bugs, editing history, revision selection in detail, and a lot more. This
35+
chapter will round out your knowledge of Git so that you are truly a master.
36+
37+
*Chapter 8* is about configuring your custom Git environment. This includes setting up hook
38+
scripts to enforce or encourage customized policies and using environment configuration settings
39+
so you can work the way you want to. We will also cover building your own set of scripts to
40+
enforce a custom committing policy.
41+
42+
*Chapter 9* deals with Git and other VCSs. This includes using Git in a Subversion (SVN) world
43+
and converting projects from other VCSs to Git. A lot of organizations still use SVN and are
44+
not about to change, but by this point you’ll have learned the incredible power of Git—and this
45+
chapter shows you how to cope if you still have to use a SVN server. We also cover how to
46+
import projects from several different systems in case you do convince everyone to make the
47+
plunge.
48+
49+
Now that you know all about Git and can wield it with power and grace, you can move on to
50+
*Chapter 10*, which delves into the murky yet beautiful depths of Git internals. Here we will
51+
discuss how Git stores its objects, what the object model is, details of packfiles, server protocols,
52+
and more. Throughout the book, we will refer to sections of this chapter in case you feel like
53+
diving deep at that point; but if you are like me and want to dive into the technical details, you
54+
may want to read Chapter 10 first. We leave that up to you.
55+
56+
Let’s get started.

book/preface.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Pro Git
66
:toclevels: 2
77

88
[preface,au="Scott Chacon"]
9-
== Introduction
9+
== Preface
1010

1111
Welcome to the second edition of Pro Git.
1212
The first edition was published over four years ago now.

0 commit comments

Comments
 (0)