Skip to content

Commit 06ada15

Browse files
Ralf Wildenhuesspearce
authored andcommitted
Fix some typos, punctuation, missing words, minor markup.
Signed-off-by: Lars Hjemli <hjemli@gmail.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
1 parent 2ef8ac1 commit 06ada15

File tree

10 files changed

+27
-26
lines changed

10 files changed

+27
-26
lines changed

Documentation/config.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ core.worktree::
188188
Set the path to the working tree. The value will not be
189189
used in combination with repositories found automatically in
190190
a .git directory (i.e. $GIT_DIR is not set).
191-
This can be overriden by the GIT_WORK_TREE environment
191+
This can be overridden by the GIT_WORK_TREE environment
192192
variable and the '--work-tree' command line option.
193193

194194
core.logAllRefUpdates::
@@ -607,7 +607,7 @@ merge.verbosity::
607607
message if conflicts were detected. Level 1 outputs only
608608
conflicts, 2 outputs conflicts and file changes. Level 5 and
609609
above outputs debugging information. The default is level 2.
610-
Can be overriden by 'GIT_MERGE_VERBOSITY' environment variable.
610+
Can be overridden by 'GIT_MERGE_VERBOSITY' environment variable.
611611

612612
merge.<driver>.name::
613613
Defines a human readable name for a custom low-level

Documentation/git-diff.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ $ git diff topic...master <3>
125125
+
126126
<1> Changes between the tips of the topic and the master branches.
127127
<2> Same as above.
128-
<3> Changes that occured on the master branch since when the topic
128+
<3> Changes that occurred on the master branch since when the topic
129129
branch was started off it.
130130

131131
Limiting the diff output::

Documentation/git-index-pack.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ OPTIONS
4343
a default name determined from the pack content. If
4444
<pack-file> is not specified consider using --keep to
4545
prevent a race condition between this process and
46-
gitlink::git-repack[1] .
46+
gitlink::git-repack[1].
4747

4848
--fix-thin::
4949
It is possible for gitlink:git-pack-objects[1] to build

Documentation/git-merge-index.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ If "git-merge-index" is called with multiple <file>s (or -a) then it
4040
processes them in turn only stopping if merge returns a non-zero exit
4141
code.
4242

43-
Typically this is run with the a script calling git's imitation of
43+
Typically this is run with a script calling git's imitation of
4444
the merge command from the RCS package.
4545

4646
A sample script called "git-merge-one-file" is included in the

Documentation/git-stash.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ stash@{1}: On master: 9cc0589... Add git-stash
5757

5858
show [<stash>]::
5959

60-
Show the changes recorded in the stash as a diff between the the
60+
Show the changes recorded in the stash as a diff between the
6161
stashed state and its original parent. When no `<stash>` is given,
6262
shows the latest one. By default, the command shows the diffstat, but
6363
it will accept any format known to `git-diff` (e.g., `git-stash show

Documentation/git-svn.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ section because they affect the 'git-svn-id:' metadata line.
404404
BASIC EXAMPLES
405405
--------------
406406

407-
Tracking and contributing to a the trunk of a Subversion-managed project:
407+
Tracking and contributing to the trunk of a Subversion-managed project:
408408

409409
------------------------------------------------------------------------
410410
# Clone a repo (like git clone):

Documentation/git-tag.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ You really want to call the new version "X" too, 'even though'
112112
others have already seen the old one. So just use "git tag -f"
113113
again, as if you hadn't already published the old one.
114114

115-
However, Git does *not* (and it should not)change tags behind
115+
However, Git does *not* (and it should not) change tags behind
116116
users back. So if somebody already got the old tag, doing a "git
117117
pull" on your tree shouldn't just make them overwrite the old
118118
one.

Documentation/git.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ For a more complete list of ways to spell object names, see
326326
File/Directory Structure
327327
------------------------
328328

329-
Please see link:repository-layout.html[repository layout] document.
329+
Please see the link:repository-layout.html[repository layout] document.
330330

331331
Read link:hooks.html[hooks] for more details about each hook.
332332

@@ -336,7 +336,7 @@ Higher level SCMs may provide and manage additional information in the
336336

337337
Terminology
338338
-----------
339-
Please see link:glossary.html[glossary] document.
339+
Please see the link:glossary.html[glossary] document.
340340

341341

342342
Environment Variables

Documentation/glossary.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ GIT Glossary
5252
[[def_cherry-picking]]cherry-picking::
5353
In <<def_SCM,SCM>> jargon, "cherry pick" means to choose a subset of
5454
changes out of a series of changes (typically commits) and record them
55-
as a new series of changes on top of different codebase. In GIT, this is
56-
performed by "git cherry-pick" command to extract the change introduced
55+
as a new series of changes on top of a different codebase. In GIT, this is
56+
performed by the "git cherry-pick" command to extract the change introduced
5757
by an existing <<def_commit,commit>> and to record it based on the tip
5858
of the current <<def_branch,branch>> as a new commit.
5959

@@ -347,7 +347,7 @@ This commit is referred to as a "merge commit", or sometimes just a
347347
it as my origin branch head". And `git push
348348
$URL refs/heads/master:refs/heads/to-upstream` means "publish my
349349
master branch head as to-upstream branch at $URL". See also
350-
gitlink:git-push[1]
350+
gitlink:git-push[1].
351351

352352
[[def_repository]]repository::
353353
A collection of <<def_ref,refs>> together with an

Documentation/user-manual.txt

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,7 +1495,7 @@ Ensuring good performance
14951495
-------------------------
14961496

14971497
On large repositories, git depends on compression to keep the history
1498-
information from taking up to much space on disk or in memory.
1498+
information from taking up too much space on disk or in memory.
14991499

15001500
This compression is not performed automatically. Therefore you
15011501
should occasionally run gitlink:git-gc[1]:
@@ -1920,7 +1920,7 @@ As with git-fetch, git-push will complain if this does not result in
19201920
a <<fast-forwards,fast forward>>. Normally this is a sign of
19211921
something wrong. However, if you are sure you know what you're
19221922
doing, you may force git-push to perform the update anyway by
1923-
proceeding the branch name by a plus sign:
1923+
preceding the branch name by a plus sign:
19241924

19251925
-------------------------------------------------
19261926
$ git push ssh://yourserver.com/~you/proj.git +master
@@ -2040,7 +2040,7 @@ $ git branch --track test origin/master
20402040
$ git branch --track release origin/master
20412041
-------------------------------------------------
20422042

2043-
These can be easily kept up to date using gitlink:git-pull[1]
2043+
These can be easily kept up to date using gitlink:git-pull[1].
20442044

20452045
-------------------------------------------------
20462046
$ git checkout test && git pull
@@ -2132,7 +2132,7 @@ changes are in a specific branch, use:
21322132
$ git log linux..branchname | git-shortlog
21332133
-------------------------------------------------
21342134

2135-
To see whether it has already been merged into the test or release branches
2135+
To see whether it has already been merged into the test or release branches,
21362136
use:
21372137

21382138
-------------------------------------------------
@@ -2145,12 +2145,12 @@ or
21452145
$ git log release..branchname
21462146
-------------------------------------------------
21472147

2148-
(If this branch has not yet been merged you will see some log entries.
2148+
(If this branch has not yet been merged, you will see some log entries.
21492149
If it has been merged, then there will be no output.)
21502150

21512151
Once a patch completes the great cycle (moving from test to release,
21522152
then pulled by Linus, and finally coming back into your local
2153-
"origin/master" branch) the branch for this change is no longer needed.
2153+
"origin/master" branch), the branch for this change is no longer needed.
21542154
You detect this when the output from:
21552155

21562156
-------------------------------------------------
@@ -2479,7 +2479,7 @@ $ git checkout -b mywork-new origin
24792479
$ gitk origin..mywork &
24802480
-------------------------------------------------
24812481

2482-
And browse through the list of patches in the mywork branch using gitk,
2482+
and browse through the list of patches in the mywork branch using gitk,
24832483
applying them (possibly in a different order) to mywork-new using
24842484
cherry-pick, and possibly modifying them as you go using commit --amend.
24852485
The gitlink:git-gui[1] command may also help as it allows you to
@@ -2739,7 +2739,7 @@ others:
27392739

27402740
- Git can quickly determine whether two objects are identical or not,
27412741
just by comparing names.
2742-
- Since object names are computed the same way in ever repository, the
2742+
- Since object names are computed the same way in every repository, the
27432743
same content stored in two repositories will always be stored under
27442744
the same name.
27452745
- Git can detect errors when it reads an object, by checking that the
@@ -3425,9 +3425,10 @@ The Workflow
34253425
------------
34263426

34273427
High-level operations such as gitlink:git-commit[1],
3428-
gitlink:git-checkout[1] and git-reset[1] work by moving data between the
3429-
working tree, the index, and the object database. Git provides
3430-
low-level operations which perform each of these steps individually.
3428+
gitlink:git-checkout[1] and gitlink:git-reset[1] work by moving data
3429+
between the working tree, the index, and the object database. Git
3430+
provides low-level operations which perform each of these steps
3431+
individually.
34313432

34323433
Generally, all "git" operations work on the index file. Some operations
34333434
work *purely* on the index file (showing the current state of the
@@ -3704,7 +3705,7 @@ Merging multiple trees, continued
37043705
---------------------------------
37053706

37063707
Sadly, many merges aren't trivial. If there are files that have
3707-
been added.moved or removed, or if both branches have modified the
3708+
been added, moved or removed, or if both branches have modified the
37083709
same file, you will be left with an index tree that contains "merge
37093710
entries" in it. Such an index tree can 'NOT' be written out to a tree
37103711
object, and you will have to resolve any such merge clashes using
@@ -4061,7 +4062,7 @@ $ git branch new # create branch "new" starting at current HEAD
40614062
$ git branch -d new # delete branch "new"
40624063
-----------------------------------------------
40634064

4064-
Instead of basing new branch on current HEAD (the default), use:
4065+
Instead of basing a new branch on current HEAD (the default), use:
40654066

40664067
-----------------------------------------------
40674068
$ git branch new test # branch named "test"

0 commit comments

Comments
 (0)