Skip to content

Commit 673151a

Browse files
Philip Oakleygitster
authored andcommitted
doc: add 'everyday' to 'git help'
The "Everyday GIT With 20 Commands Or So" is not accessible via the Git help system. Move everyday.txt to giteveryday.txt so that "git help everyday" works, and create a new placeholder file everyday.html to refer people who follow existing URLs to the updated location. giteveryday.txt now formats well with AsciiDoc as a man page and refreshed content to a more command modern style. Add 'everyday' to the help --guides list and update git(1) and 5 other links to giteveryday. Signed-off-by: Philip Oakley <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5a568ea commit 673151a

File tree

12 files changed

+32
-21
lines changed

12 files changed

+32
-21
lines changed

Documentation/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ MAN7_TXT += gitcore-tutorial.txt
2727
MAN7_TXT += gitcredentials.txt
2828
MAN7_TXT += gitcvs-migration.txt
2929
MAN7_TXT += gitdiffcore.txt
30+
MAN7_TXT += giteveryday.txt
3031
MAN7_TXT += gitglossary.txt
3132
MAN7_TXT += gitnamespaces.txt
3233
MAN7_TXT += gitrevisions.txt
@@ -38,11 +39,11 @@ MAN_TXT = $(MAN1_TXT) $(MAN5_TXT) $(MAN7_TXT)
3839
MAN_XML = $(patsubst %.txt,%.xml,$(MAN_TXT))
3940
MAN_HTML = $(patsubst %.txt,%.html,$(MAN_TXT))
4041

42+
OBSOLETE_HTML += everyday.html
4143
OBSOLETE_HTML += git-remote-helpers.html
4244
DOC_HTML = $(MAN_HTML) $(OBSOLETE_HTML)
4345

4446
ARTICLES += howto-index
45-
ARTICLES += everyday
4647
ARTICLES += git-tools
4748
ARTICLES += git-bisect-lk2009
4849
# with their own formatting rules.

Documentation/everyday.txto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Everyday Git With 20 Commands Or So
2+
===================================
3+
4+
This document has been moved to linkgit:giteveryday[1].
5+
6+
Please let the owners of the referring site know so that they can update the
7+
link you clicked to get here.
8+
9+
Thanks.

Documentation/git-push.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ When the command line does not specify what to push with `<refspec>...`
3333
arguments or `--all`, `--mirror`, `--tags` options, the command finds
3434
the default `<refspec>` by consulting `remote.*.push` configuration,
3535
and if it is not found, honors `push.default` configuration to decide
36-
what to push (See linkgit:git-config[1] for the meaning of `push.default`).
36+
what to push (See gitlink:git-config[1] for the meaning of `push.default`).
3737

3838

3939
OPTIONS[[OPTIONS]]

Documentation/git.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ unusually rich command set that provides both high-level operations
2222
and full access to internals.
2323

2424
See linkgit:gittutorial[7] to get started, then see
25-
link:everyday.html[Everyday Git] for a useful minimum set of
25+
linkgit:giteveryday[7] for a useful minimum set of
2626
commands. The link:user-manual.html[Git User's Manual] has a more
2727
in-depth introduction.
2828

@@ -1097,7 +1097,7 @@ subscribed to the list to send a message there.
10971097
SEE ALSO
10981098
--------
10991099
linkgit:gittutorial[7], linkgit:gittutorial-2[7],
1100-
link:everyday.html[Everyday Git], linkgit:gitcvs-migration[7],
1100+
linkgit:giteveryday[7], linkgit:gitcvs-migration[7],
11011101
linkgit:gitglossary[7], linkgit:gitcore-tutorial[7],
11021102
linkgit:gitcli[7], link:user-manual.html[The Git User's Manual],
11031103
linkgit:gitworkflows[7]

Documentation/gitcore-tutorial.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1667,7 +1667,7 @@ linkgit:gittutorial[7],
16671667
linkgit:gittutorial-2[7],
16681668
linkgit:gitcvs-migration[7],
16691669
linkgit:git-help[1],
1670-
link:everyday.html[Everyday git],
1670+
linkgit:giteveryday[7],
16711671
link:user-manual.html[The Git User's Manual]
16721672

16731673
GIT

Documentation/gitcvs-migration.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ linkgit:gittutorial[7],
194194
linkgit:gittutorial-2[7],
195195
linkgit:gitcore-tutorial[7],
196196
linkgit:gitglossary[7],
197-
link:everyday.html[Everyday Git],
197+
linkgit:giteveryday[7],
198198
link:user-manual.html[The Git User's Manual]
199199

200200
GIT

Documentation/everyday.txt renamed to Documentation/giteveryday.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -381,15 +381,15 @@ $ cat /etc/xinetd.d/git-daemon
381381
# description: The Git server offers access to Git repositories
382382
service git
383383
{
384-
disable = no
385-
type = UNLISTED
386-
port = 9418
387-
socket_type = stream
388-
wait = no
389-
user = nobody
390-
server = /usr/bin/git-daemon
391-
server_args = --inetd --export-all --base-path=/pub/scm
392-
log_on_failure += USERID
384+
disable = no
385+
type = UNLISTED
386+
port = 9418
387+
socket_type = stream
388+
wait = no
389+
user = nobody
390+
server = /usr/bin/git-daemon
391+
server_args = --inetd --export-all --base-path=/pub/scm
392+
log_on_failure += USERID
393393
}
394394
------------
395395
+

Documentation/gitglossary.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ SEE ALSO
1919
linkgit:gittutorial[7],
2020
linkgit:gittutorial-2[7],
2121
linkgit:gitcvs-migration[7],
22-
link:everyday.html[Everyday Git],
22+
linkgit:giteveryday[7],
2323
link:user-manual.html[The Git User's Manual]
2424

2525
GIT

Documentation/gittutorial-2.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ What next?
403403

404404
At this point you should know everything necessary to read the man
405405
pages for any of the git commands; one good place to start would be
406-
with the commands mentioned in link:everyday.html[Everyday Git]. You
406+
with the commands mentioned in linkgit:giteveryday[7]. You
407407
should be able to find any unknown jargon in linkgit:gitglossary[7].
408408

409409
The link:user-manual.html[Git User's Manual] provides a more
@@ -427,7 +427,7 @@ linkgit:gitcvs-migration[7],
427427
linkgit:gitcore-tutorial[7],
428428
linkgit:gitglossary[7],
429429
linkgit:git-help[1],
430-
link:everyday.html[Everyday Git],
430+
linkgit:giteveryday[7],
431431
link:user-manual.html[The Git User's Manual]
432432

433433
GIT

Documentation/gittutorial.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ digressions that may be interesting at this point are:
656656
* linkgit:gitworkflows[7]: Gives an overview of recommended
657657
workflows.
658658

659-
* link:everyday.html[Everyday Git with 20 Commands Or So]
659+
* linkgit:giteveryday[7]: Everyday Git with 20 Commands Or So.
660660

661661
* linkgit:gitcvs-migration[7]: Git for CVS users.
662662

@@ -668,7 +668,7 @@ linkgit:gitcore-tutorial[7],
668668
linkgit:gitglossary[7],
669669
linkgit:git-help[1],
670670
linkgit:gitworkflows[7],
671-
link:everyday.html[Everyday Git],
671+
linkgit:giteveryday[7],
672672
link:user-manual.html[The Git User's Manual]
673673

674674
GIT

0 commit comments

Comments
 (0)