Skip to content

Commit 6998e4d

Browse files
Jonathan Niedergitster
authored andcommitted
Documentation: fix links to tutorials and other new manual pages
With the conversion of HTML documentation to man pages tutorial.html -> gittutorial (7) tutorial-2.html -> gittutorial-2 (7) cvs-migration.html -> gitcvs-migration (7) diffcore.html -> gitdiffcore (7) repository-layout.html -> gitrepository-layout (5) hooks.html -> githooks (5) glossary.html -> gitglossary (7) core-tutorial.html -> gitcore-tutorial (7) and the automatic update of references to these pages, a little debris was left behind. We clear it away. Signed-off-by: Jonathan Nieder <jrnieder@uchicago.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 951b09c commit 6998e4d

File tree

11 files changed

+38
-42
lines changed

11 files changed

+38
-42
lines changed

Documentation/diff-options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,4 +241,4 @@ endif::git-format-patch[]
241241
Do not show any source or destination prefix.
242242

243243
For more detailed explanation on these common options, see also
244-
linkgit:gitdiffcore[7][diffcore documentation].
244+
linkgit:gitdiffcore[7].

Documentation/git-add.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Configuration
107107
The optional configuration variable 'core.excludesfile' indicates a path to a
108108
file containing patterns of file names to exclude from git-add, similar to
109109
$GIT_DIR/info/exclude. Patterns in the exclude file are used in addition to
110-
those in info/exclude. See linkgit:gitrepository-layout[5][repository layout].
110+
those in info/exclude. See linkgit:gitrepository-layout[5].
111111

112112

113113
EXAMPLES

Documentation/git-commit.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ OPTIONS
9797
-n::
9898
--no-verify::
9999
This option bypasses the pre-commit and commit-msg hooks.
100-
See also linkgit:githooks[5][hooks].
100+
See also linkgit:githooks[5].
101101

102102
--allow-empty::
103103
Usually recording a commit that has the exact same tree as its
@@ -316,7 +316,7 @@ order).
316316
HOOKS
317317
-----
318318
This command can run `commit-msg`, `prepare-commit-msg`, `pre-commit`,
319-
and `post-commit` hooks. See linkgit:githooks[5][hooks] for more
319+
and `post-commit` hooks. See linkgit:githooks[5] for more
320320
information.
321321

322322

Documentation/git-update-server-info.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ OUTPUT
3131
------
3232

3333
Currently the command updates the following files. Please see
34-
linkgit:gitrepository-layout[5][repository-layout] for description of
34+
linkgit:gitrepository-layout[5] for description of
3535
what they are for:
3636

3737
* objects/info/packs

Documentation/git.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ Git is a fast, scalable, distributed revision control system with an
2020
unusually rich command set that provides both high-level operations
2121
and full access to internals.
2222

23-
See this linkgit:gittutorial[7][tutorial] to get started, then see
23+
See linkgit:gittutorial[7] to get started, then see
2424
link:everyday.html[Everyday Git] for a useful minimum set of commands, and
2525
"man git-commandname" for documentation of each command. CVS users may
26-
also want to read linkgit:gitcvs-migration[7][CVS migration]. See
27-
link:user-manual.html[Git User's Manual] for a more in-depth
26+
also want to read linkgit:gitcvs-migration[7]. See
27+
the link:user-manual.html[Git User's Manual] for a more in-depth
2828
introduction.
2929

3030
The COMMAND is either a name of a Git command (see below) or an alias
@@ -182,13 +182,14 @@ See the references above to get started using git. The following is
182182
probably more detail than necessary for a first-time user.
183183

184184
The link:user-manual.html#git-concepts[git concepts chapter of the
185-
user-manual] and the linkgit:gitcore-tutorial[7][Core tutorial] both provide
185+
user-manual] and linkgit:gitcore-tutorial[7] both provide
186186
introductions to the underlying git architecture.
187187

188188
See also the link:howto-index.html[howto] documents for some useful
189189
examples.
190190

191-
The internals are documented link:technical/api-index.html[here].
191+
The internals are documented in the
192+
link:technical/api-index.html[GIT API documentation].
192193

193194
GIT COMMANDS
194195
------------
@@ -372,18 +373,17 @@ For a more complete list of ways to spell object names, see
372373
File/Directory Structure
373374
------------------------
374375

375-
Please see the linkgit:gitrepository-layout[5][repository layout]
376-
document.
376+
Please see the linkgit:gitrepository-layout[5] document.
377377

378-
Read linkgit:githooks[5][hooks] for more details about each hook.
378+
Read linkgit:githooks[5] for more details about each hook.
379379

380380
Higher level SCMs may provide and manage additional information in the
381381
`$GIT_DIR`.
382382

383383

384384
Terminology
385385
-----------
386-
Please see the linkgit:gitglossary[7][glossary] document.
386+
Please see linkgit:gitglossary[7].
387387

388388

389389
Environment Variables
@@ -527,7 +527,7 @@ Discussion[[Discussion]]
527527

528528
More detail on the following is available from the
529529
link:user-manual.html#git-concepts[git concepts chapter of the
530-
user-manual] and the linkgit:gitcore-tutorial[7][Core tutorial].
530+
user-manual] and linkgit:gitcore-tutorial[7].
531531

532532
A git project normally consists of a working directory with a ".git"
533533
subdirectory at the top level. The .git directory contains, among other

Documentation/gitcore-tutorial.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ This tutorial explains how to use the "core" git programs to set up and
1616
work with a git repository.
1717

1818
If you just need to use git as a revision control system you may prefer
19-
to start with linkgit:gittutorial[7][a tutorial introduction to git] or
20-
link:user-manual.html[the git user manual].
19+
to start with "A Tutorial Introduction to GIT" (linkgit:gittutorial[7]) or
20+
link:user-manual.html[the GIT User Manual].
2121

2222
However, an understanding of these low-level tools can be helpful if
2323
you want to understand git's internals.
@@ -108,8 +108,7 @@ references in these `refs` subdirectories when you actually start
108108
populating your tree.
109109

110110
[NOTE]
111-
An advanced user may want to take a look at the
112-
linkgit:gitrepository-layout[5][repository layout] document
111+
An advanced user may want to take a look at linkgit:gitrepository-layout[5]
113112
after finishing this tutorial.
114113

115114
You have now created your first git repository. Of course, since it's
@@ -1589,7 +1588,7 @@ suggested in the previous section may be new to you. You do not
15891588
have to worry. git supports "shared public repository" style of
15901589
cooperation you are probably more familiar with as well.
15911590

1592-
See linkgit:gitcvs-migration[7][git for CVS users] for the details.
1591+
See linkgit:gitcvs-migration[7] for the details.
15931592

15941593
Bundling your work together
15951594
---------------------------

Documentation/gitcvs-migration.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ important than any other. However, you can emulate the CVS model by
1818
designating a single shared repository which people can synchronize with;
1919
this document explains how to do that.
2020

21-
Some basic familiarity with git is required. This
22-
linkgit:gittutorial[7][tutorial introduction to git] and the
23-
linkgit:gitglossary[7][git glossary] should be sufficient.
21+
Some basic familiarity with git is required. Having gone through
22+
linkgit:gittutorial[7] and
23+
linkgit:gitglossary[7] should be sufficient.
2424

2525
Developing against a shared repository
2626
--------------------------------------
@@ -81,8 +81,8 @@ Setting Up a Shared Repository
8181
------------------------------
8282

8383
We assume you have already created a git repository for your project,
84-
possibly created from scratch or from a tarball (see the
85-
linkgit:gittutorial[7][tutorial]), or imported from an already existing CVS
84+
possibly created from scratch or from a tarball (see
85+
linkgit:gittutorial[7]), or imported from an already existing CVS
8686
repository (see the next section).
8787

8888
Assume your existing repo is at /home/alice/myproject. Create a new "bare"
@@ -148,7 +148,7 @@ Advanced Shared Repository Management
148148

149149
Git allows you to specify scripts called "hooks" to be run at certain
150150
points. You can use these, for example, to send all commits to the shared
151-
repository to a mailing list. See linkgit:githooks[5][Hooks used by git].
151+
repository to a mailing list. See linkgit:githooks[5].
152152

153153
You can enforce finer grained permissions using update hooks. See
154154
link:howto/update-hook-example.txt[Controlling access to branches using

Documentation/gitrepository-layout.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ hooks::
135135
commands. A handful of sample hooks are installed when
136136
`git init` is run, but all of them are disabled by
137137
default. To enable, they need to be made executable.
138-
Read linkgit:githooks[5][hooks] for more details about
138+
Read linkgit:githooks[5] for more details about
139139
each hook.
140140

141141
index::

Documentation/gittutorial-2.txt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ git *
1212
DESCRIPTION
1313
-----------
1414

15-
You should work through linkgit:gittutorial[7][A tutorial introduction to
16-
git] before reading this tutorial.
15+
You should work through linkgit:gittutorial[7] before reading this tutorial.
1716

1817
The goal of this tutorial is to introduce two fundamental pieces of
1918
git's architecture--the object database and the index file--and to
@@ -390,7 +389,7 @@ in the index file is identical to the one in the working directory.
390389
In addition to being the staging area for new commits, the index file
391390
is also populated from the object database when checking out a
392391
branch, and is used to hold the trees involved in a merge operation.
393-
See the linkgit:gitcore-tutorial[7][core tutorial] and the relevant man
392+
See linkgit:gitcore-tutorial[7] and the relevant man
394393
pages for details.
395394

396395
What next?
@@ -399,20 +398,19 @@ What next?
399398
At this point you should know everything necessary to read the man
400399
pages for any of the git commands; one good place to start would be
401400
with the commands mentioned in link:everyday.html[Everyday git]. You
402-
should be able to find any unknown jargon in the
403-
linkgit:gitglossary[7][Glossary].
401+
should be able to find any unknown jargon in linkgit:gitglossary[7].
404402

405403
The link:user-manual.html[Git User's Manual] provides a more
406404
comprehensive introduction to git.
407405

408-
The linkgit:gitcvs-migration[7][CVS migration] document explains how to
406+
linkgit:gitcvs-migration[7] explains how to
409407
import a CVS repository into git, and shows how to use git in a
410408
CVS-like way.
411409

412410
For some interesting examples of git use, see the
413411
link:howto-index.html[howtos].
414412

415-
For git developers, the linkgit:gitcore-tutorial[7][Core tutorial] goes
413+
For git developers, linkgit:gitcore-tutorial[7] goes
416414
into detail on the lower-level git mechanisms involved in, for
417415
example, creating a new commit.
418416

Documentation/gittutorial.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ see linkgit:git-pull[1] for details.
392392

393393
Git can also be used in a CVS-like mode, with a central repository
394394
that various users push changes to; see linkgit:git-push[1] and
395-
linkgit:gitcvs-migration[7][git for CVS users].
395+
linkgit:gitcvs-migration[7].
396396

397397
Exploring history
398398
-----------------
@@ -571,9 +571,9 @@ is based:
571571
used to create commits, check out working directories, and
572572
hold the various trees involved in a merge.
573573

574-
linkgit:gittutorial-2[7][Part two of this tutorial] explains the object
574+
Part two of this tutorial explains the object
575575
database, the index file, and a few other odds and ends that you'll
576-
need to make the most of git.
576+
need to make the most of git. You can find it at linkgit:gittutorial-2[7].
577577

578578
If you don't want to continue with that right away, a few other
579579
digressions that may be interesting at this point are:
@@ -592,7 +592,7 @@ digressions that may be interesting at this point are:
592592

593593
* link:everyday.html[Everyday GIT with 20 Commands Or So]
594594

595-
* linkgit:gitcvs-migration[7][git for CVS users].
595+
* linkgit:gitcvs-migration[7]: Git for CVS users.
596596

597597
SEE ALSO
598598
--------

0 commit comments

Comments
 (0)