Skip to content

Commit 72d3d52

Browse files
authored
Merge pull request #1072 from rpjday/intro
Make some stylistic tweaks to Chapter 1, Introduction
2 parents f7324c7 + 6ce8e7d commit 72d3d52

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

book/01-introduction/sections/about-version-control.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ RCS works by keeping patch sets (that is, the differences between files) in a sp
3030
(((version control,centralized)))
3131
The next major issue that people encounter is that they need to collaborate with developers on other systems.
3232
To deal with this problem, Centralized Version Control Systems (CVCSs) were developed.
33-
These systems, such as CVS, Subversion, and Perforce, have a single server that contains all the versioned files, and a number of clients that check out files from that central place. (((CVS)))(((Subversion)))(((Perforce)))
33+
These systems (such as CVS, Subversion, and Perforce) have a single server that contains all the versioned files, and a number of clients that check out files from that central place. (((CVS)))(((Subversion)))(((Perforce)))
3434
For many years, this has been the standard for version control.
3535

3636
.Centralized version control.

book/01-introduction/sections/command-line.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
There are a lot of different ways to use Git.
44
There are the original command-line tools, and there are many graphical user interfaces of varying capabilities.
55
For this book, we will be using Git on the command line.
6-
For one, the command line is the only place you can run _all_ Git commands most of the GUIs implement only a partial subset of Git functionality for simplicity.
6+
For one, the command line is the only place you can run _all_ Git commands -- most of the GUIs implement only a partial subset of Git functionality for simplicity.
77
If you know how to run the command-line version, you can probably also figure out how to run the GUI version, while the opposite is not necessarily true.
88
Also, while your choice of graphical client is a matter of personal taste, _all_ users will have the command-line tools installed and available.
99

book/01-introduction/sections/first-time-setup.asc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ These variables can be stored in three different places:
1212
If you pass the option `--system` to `git config`, it reads and writes from this file specifically.
1313
(Because this is a system configuration file, you would need administrative or superuser privilege to make changes to it.)
1414
2. `~/.gitconfig` or `~/.config/git/config` file: Values specific personally to you, the user.
15-
You can make Git read and write to this file specifically by passing the `--global` option.
15+
You can make Git read and write to this file specifically by passing the `--global` option, and this affects _all_ of the repositories you work with on your system.
1616
3. `config` file in the Git directory (that is, `.git/config`) of whatever repository you're currently using: Specific to that single repository.
17+
You can force Git to read from and write to this file with the `--local` option, but that is in fact the default.
18+
(Unsurprisingly, you need to be located somewhere in a Git repository for this option to work properly.)
1719

1820
Each level overrides values in the previous level, so values in `.git/config` trump those in `/etc/gitconfig`.
1921

book/introduction.asc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
You’re about to spend several hours of your life reading about Git. Let’s take a minute to explain
55
what we have in store for you. Here is a quick summary of the ten chapters and three appendices of this book.
66

7-
In *Chapter 1*, we’re going to cover Version Control Systems (VCSs) and Git basicsno
7+
In *Chapter 1*, we’re going to cover Version Control Systems (VCSs) and Git basics -- no
88
technical stuff, just what Git is, why it came about in a land full of VCSs, what sets it apart, and
99
why so many people are using it. Then, we’ll explain how to download Git and set it up for the
1010
first time if you don’t already have it on your system.
1111

12-
In *Chapter 2*, we will go over basic Git usagehow to use Git in the 80% of cases you’ll
12+
In *Chapter 2*, we will go over basic Git usage -- how to use Git in the 80% of cases you’ll
1313
encounter most often. After reading this chapter, you should be able to clone a repository, see
1414
what has happened in the history of the project, modify files, and contribute changes. If the book
1515
spontaneously combusts at this point, you should already be pretty useful wielding Git in the time
@@ -41,7 +41,7 @@ enforce a custom committing policy.
4141

4242
*Chapter 9* deals with Git and other VCSs. This includes using Git in a Subversion (SVN) world
4343
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 Gitand this
44+
not about to change, but by this point you’ll have learned the incredible power of Git -- and this
4545
chapter shows you how to cope if you still have to use a SVN server. We also cover how to
4646
import projects from several different systems in case you do convince everyone to make the
4747
plunge.
@@ -53,16 +53,16 @@ we will refer to sections of this chapter in case you feel like diving deep at t
5353
but if you are like us and want to dive into the technical details, you may want to read Chapter 10 first.
5454
We leave that up to you.
5555

56-
In *Appendix A* we look at a number of examples of using Git in various specific environments. We cover
56+
In *Appendix A*, we look at a number of examples of using Git in various specific environments. We cover
5757
a number of different GUIs and IDE programming environments that you may want to use Git in and what
5858
is available for you. If you're interested in an overview of using Git in your shell, in Visual Studio
5959
or Eclipse, take a look here.
6060

61-
In *Appendix B* we explore scripting and extending Git through tools like libgit2 and JGit. If you're
62-
interested in writing complex and fast custom tools and need low level Git access, this is where you can
61+
In *Appendix B*, we explore scripting and extending Git through tools like libgit2 and JGit. If you're
62+
interested in writing complex and fast custom tools and need low-level Git access, this is where you can
6363
see what that landscape looks like.
6464

65-
Finally in *Appendix C* we go through all the major Git commands one at a time and review where in the book
65+
Finally, in *Appendix C*, we go through all the major Git commands one at a time and review where in the book
6666
we covered them and what we did with them. If you want to know where in the book we used any specific Git
6767
command you can look that up here.
6868

0 commit comments

Comments
 (0)