Merge branch 'po/everyday-doc'

"git help everyday" to show the Everyday Git document.

* po/everyday-doc:
  doc: add 'everyday' to 'git help'
  doc: Makefile regularise OBSOLETE_HTML list building
  doc: modernise everyday.txt wording and format in man page style
This commit is contained in:
Junio C Hamano
2014-10-16 14:16:42 -07:00
12 changed files with 185 additions and 131 deletions

View File

@ -5,6 +5,7 @@ MAN7_TXT =
TECH_DOCS = TECH_DOCS =
ARTICLES = ARTICLES =
SP_ARTICLES = SP_ARTICLES =
OBSOLETE_HTML =
MAN1_TXT += $(filter-out \ MAN1_TXT += $(filter-out \
$(addsuffix .txt, $(ARTICLES) $(SP_ARTICLES)), \ $(addsuffix .txt, $(ARTICLES) $(SP_ARTICLES)), \
@ -26,6 +27,7 @@ MAN7_TXT += gitcore-tutorial.txt
MAN7_TXT += gitcredentials.txt MAN7_TXT += gitcredentials.txt
MAN7_TXT += gitcvs-migration.txt MAN7_TXT += gitcvs-migration.txt
MAN7_TXT += gitdiffcore.txt MAN7_TXT += gitdiffcore.txt
MAN7_TXT += giteveryday.txt
MAN7_TXT += gitglossary.txt MAN7_TXT += gitglossary.txt
MAN7_TXT += gitnamespaces.txt MAN7_TXT += gitnamespaces.txt
MAN7_TXT += gitrevisions.txt MAN7_TXT += gitrevisions.txt
@ -37,11 +39,11 @@ MAN_TXT = $(MAN1_TXT) $(MAN5_TXT) $(MAN7_TXT)
MAN_XML = $(patsubst %.txt,%.xml,$(MAN_TXT)) MAN_XML = $(patsubst %.txt,%.xml,$(MAN_TXT))
MAN_HTML = $(patsubst %.txt,%.html,$(MAN_TXT)) MAN_HTML = $(patsubst %.txt,%.html,$(MAN_TXT))
OBSOLETE_HTML = git-remote-helpers.html OBSOLETE_HTML += everyday.html
OBSOLETE_HTML += git-remote-helpers.html
DOC_HTML = $(MAN_HTML) $(OBSOLETE_HTML) DOC_HTML = $(MAN_HTML) $(OBSOLETE_HTML)
ARTICLES += howto-index ARTICLES += howto-index
ARTICLES += everyday
ARTICLES += git-tools ARTICLES += git-tools
ARTICLES += git-bisect-lk2009 ARTICLES += git-bisect-lk2009
# with their own formatting rules. # with their own formatting rules.

View File

@ -0,0 +1,9 @@
Everyday Git With 20 Commands Or So
===================================
This document has been moved to linkgit:giteveryday[1].
Please let the owners of the referring site know so that they can update the
link you clicked to get here.
Thanks.

View File

@ -34,7 +34,7 @@ When the command line does not specify what to push with `<refspec>...`
arguments or `--all`, `--mirror`, `--tags` options, the command finds arguments or `--all`, `--mirror`, `--tags` options, the command finds
the default `<refspec>` by consulting `remote.*.push` configuration, the default `<refspec>` by consulting `remote.*.push` configuration,
and if it is not found, honors `push.default` configuration to decide and if it is not found, honors `push.default` configuration to decide
what to push (See linkgit:git-config[1] for the meaning of `push.default`). what to push (See gitlink:git-config[1] for the meaning of `push.default`).
OPTIONS[[OPTIONS]] OPTIONS[[OPTIONS]]

View File

@ -22,7 +22,7 @@ unusually rich command set that provides both high-level operations
and full access to internals. and full access to internals.
See linkgit:gittutorial[7] to get started, then see See linkgit:gittutorial[7] to get started, then see
link:everyday.html[Everyday Git] for a useful minimum set of linkgit:giteveryday[7] for a useful minimum set of
commands. The link:user-manual.html[Git User's Manual] has a more commands. The link:user-manual.html[Git User's Manual] has a more
in-depth introduction. in-depth introduction.
@ -1098,7 +1098,7 @@ subscribed to the list to send a message there.
SEE ALSO SEE ALSO
-------- --------
linkgit:gittutorial[7], linkgit:gittutorial-2[7], linkgit:gittutorial[7], linkgit:gittutorial-2[7],
link:everyday.html[Everyday Git], linkgit:gitcvs-migration[7], linkgit:giteveryday[7], linkgit:gitcvs-migration[7],
linkgit:gitglossary[7], linkgit:gitcore-tutorial[7], linkgit:gitglossary[7], linkgit:gitcore-tutorial[7],
linkgit:gitcli[7], link:user-manual.html[The Git User's Manual], linkgit:gitcli[7], link:user-manual.html[The Git User's Manual],
linkgit:gitworkflows[7] linkgit:gitworkflows[7]

View File

@ -1667,7 +1667,7 @@ linkgit:gittutorial[7],
linkgit:gittutorial-2[7], linkgit:gittutorial-2[7],
linkgit:gitcvs-migration[7], linkgit:gitcvs-migration[7],
linkgit:git-help[1], linkgit:git-help[1],
link:everyday.html[Everyday git], linkgit:giteveryday[7],
link:user-manual.html[The Git User's Manual] link:user-manual.html[The Git User's Manual]
GIT GIT

View File

@ -194,7 +194,7 @@ linkgit:gittutorial[7],
linkgit:gittutorial-2[7], linkgit:gittutorial-2[7],
linkgit:gitcore-tutorial[7], linkgit:gitcore-tutorial[7],
linkgit:gitglossary[7], linkgit:gitglossary[7],
link:everyday.html[Everyday Git], linkgit:giteveryday[7],
link:user-manual.html[The Git User's Manual] link:user-manual.html[The Git User's Manual]
GIT GIT

View File

@ -1,22 +1,37 @@
giteveryday(7)
===============
NAME
----
giteveryday - A useful minimum set of commands for Everyday Git
SYNOPSIS
--------
Everyday Git With 20 Commands Or So Everyday Git With 20 Commands Or So
===================================
<<Individual Developer (Standalone)>> commands are essential for DESCRIPTION
anybody who makes a commit, even for somebody who works alone. -----------
If you work with other people, you will need commands listed in Git users can broadly be grouped into four categories for the purposes of
the <<Individual Developer (Participant)>> section as well. describing here a small set of useful command for everyday Git.
People who play the <<Integrator>> role need to learn some more * <<STANDALONE,Individual Developer (Standalone)>> commands are essential
commands in addition to the above. for anybody who makes a commit, even for somebody who works alone.
<<Repository Administration>> commands are for system * If you work with other people, you will need commands listed in
administrators who are responsible for the care and feeding the <<PARTICIPANT,Individual Developer (Participant)>> section as well.
of Git repositories.
* People who play the <<INTEGRATOR,Integrator>> role need to learn some
more commands in addition to the above.
* <<ADMINISTRATION,Repository Administration>> commands are for system
administrators who are responsible for the care and feeding
of Git repositories.
Individual Developer (Standalone)[[Individual Developer (Standalone)]] Individual Developer (Standalone)[[STANDALONE]]
---------------------------------------------------------------------- -----------------------------------------------
A standalone individual developer does not exchange patches with A standalone individual developer does not exchange patches with
other people, and works alone in a single repository, using the other people, and works alone in a single repository, using the
@ -24,8 +39,6 @@ following commands.
* linkgit:git-init[1] to create a new repository. * linkgit:git-init[1] to create a new repository.
* linkgit:git-show-branch[1] to see where you are.
* linkgit:git-log[1] to see what happened. * linkgit:git-log[1] to see what happened.
* linkgit:git-checkout[1] and linkgit:git-branch[1] to switch * linkgit:git-checkout[1] and linkgit:git-branch[1] to switch
@ -45,7 +58,7 @@ following commands.
* linkgit:git-rebase[1] to maintain topic branches. * linkgit:git-rebase[1] to maintain topic branches.
* linkgit:git-tag[1] to mark known point. * linkgit:git-tag[1] to mark a known point.
Examples Examples
~~~~~~~~ ~~~~~~~~
@ -75,14 +88,12 @@ $ edit/compile/test
$ git diff HEAD <4> $ git diff HEAD <4>
$ git commit -a -s <5> $ git commit -a -s <5>
$ edit/compile/test $ edit/compile/test
$ git reset --soft HEAD^ <6> $ git diff HEAD^ <6>
$ edit/compile/test $ git commit -a --amend <7>
$ git diff ORIG_HEAD <7> $ git checkout master <8>
$ git commit -a -c ORIG_HEAD <8> $ git merge alsa-audio <9>
$ git checkout master <9> $ git log --since='3 days ago' <10>
$ git merge alsa-audio <10> $ git log v2.43.. curses/ <11>
$ git log --since='3 days ago' <11>
$ git log v2.43.. curses/ <12>
------------ ------------
+ +
<1> create a new topic branch. <1> create a new topic branch.
@ -90,22 +101,21 @@ $ git log v2.43.. curses/ <12>
<3> you need to tell Git if you added a new file; removal and <3> you need to tell Git if you added a new file; removal and
modification will be caught if you do `git commit -a` later. modification will be caught if you do `git commit -a` later.
<4> to see what changes you are committing. <4> to see what changes you are committing.
<5> commit everything as you have tested, with your sign-off. <5> commit everything, as you have tested, with your sign-off.
<6> take the last commit back, keeping what is in the working tree. <6> look at all your changes including the previous commit.
<7> look at the changes since the premature commit we took back. <7> amend the previous commit, adding all your new changes,
<8> redo the commit undone in the previous step, using the message using your original message.
you originally wrote. <8> switch to the master branch.
<9> switch to the master branch. <9> merge a topic branch into your master branch.
<10> merge a topic branch into your master branch. <10> review commit logs; other forms to limit output can be
<11> review commit logs; other forms to limit output can be combined and include `-10` (to show up to 10 commits),
combined and include `--max-count=10` (show 10 commits),
`--until=2005-12-10`, etc. `--until=2005-12-10`, etc.
<12> view only the changes that touch what's in `curses/` <11> view only the changes that touch what's in `curses/`
directory, since `v2.43` tag. directory, since `v2.43` tag.
Individual Developer (Participant)[[Individual Developer (Participant)]] Individual Developer (Participant)[[PARTICIPANT]]
------------------------------------------------------------------------ -------------------------------------------------
A developer working as a participant in a group project needs to A developer working as a participant in a group project needs to
learn how to communicate with others, and uses these commands in learn how to communicate with others, and uses these commands in
@ -123,6 +133,13 @@ addition to the ones needed by a standalone developer.
* linkgit:git-format-patch[1] to prepare e-mail submission, if * linkgit:git-format-patch[1] to prepare e-mail submission, if
you adopt Linux kernel-style public forum workflow. you adopt Linux kernel-style public forum workflow.
* linkgit:git-send-email[1] to send your e-mail submission without
corruption by your MUA.
* linkgit:git-request-pull[1] to create a summary of changes
for your upstream to pull.
Examples Examples
~~~~~~~~ ~~~~~~~~
@ -131,28 +148,34 @@ Clone the upstream and work on it. Feed changes to upstream.::
------------ ------------
$ git clone git://git.kernel.org/pub/scm/.../torvalds/linux-2.6 my2.6 $ git clone git://git.kernel.org/pub/scm/.../torvalds/linux-2.6 my2.6
$ cd my2.6 $ cd my2.6
$ edit/compile/test; git commit -a -s <1> $ git checkout -b mine master <1>
$ git format-patch origin <2> $ edit/compile/test; git commit -a -s <2>
$ git pull <3> $ git format-patch master <3>
$ git log -p ORIG_HEAD.. arch/i386 include/asm-i386 <4> $ git send-email --to="person <email@example.com>" 00*.patch <4>
$ git pull git://git.kernel.org/pub/.../jgarzik/libata-dev.git ALL <5> $ git checkout master <5>
$ git reset --hard ORIG_HEAD <6> $ git pull <6>
$ git gc <7> $ git log -p ORIG_HEAD.. arch/i386 include/asm-i386 <7>
$ git fetch --tags <8> $ git ls-remote --heads http://git.kernel.org/.../jgarzik/libata-dev.git <8>
$ git pull git://git.kernel.org/pub/.../jgarzik/libata-dev.git ALL <9>
$ git reset --hard ORIG_HEAD <10>
$ git gc <11>
------------ ------------
+ +
<1> repeat as needed. <1> checkout a new branch `mine` from master.
<2> extract patches from your branch for e-mail submission. <2> repeat as needed.
<3> `git pull` fetches from `origin` by default and merges into the <3> extract patches from your branch, relative to master,
<4> and email them.
<5> return to `master`, ready to see what's new
<6> `git pull` fetches from `origin` by default and merges into the
current branch. current branch.
<4> immediately after pulling, look at the changes done upstream <7> immediately after pulling, look at the changes done upstream
since last time we checked, only in the since last time we checked, only in the
area we are interested in. area we are interested in.
<5> fetch from a specific branch from a specific repository and merge. <8> check the branch names in an external repository (if not known).
<6> revert the pull. <9> fetch from a specific branch `ALL` from a specific repository
<7> garbage collect leftover objects from reverted pull. and merge it.
<8> from time to time, obtain official tags from the `origin` <10> revert the pull.
and store them under `.git/refs/tags/`. <11> garbage collect leftover objects from reverted pull.
Push into another repository.:: Push into another repository.::
@ -166,7 +189,7 @@ remote.origin.fetch refs/heads/*:refs/remotes/origin/*
branch.master.remote origin branch.master.remote origin
branch.master.merge refs/heads/master branch.master.merge refs/heads/master
satellite$ git config remote.origin.push \ satellite$ git config remote.origin.push \
master:refs/remotes/satellite/master <3> +refs/heads/*:refs/remotes/satellite/* <3>
satellite$ edit/compile/test/commit satellite$ edit/compile/test/commit
satellite$ git push origin <4> satellite$ git push origin <4>
@ -181,11 +204,12 @@ machine.
<2> clone sets these configuration variables by default. <2> clone sets these configuration variables by default.
It arranges `git pull` to fetch and store the branches of mothership It arranges `git pull` to fetch and store the branches of mothership
machine to local `remotes/origin/*` remote-tracking branches. machine to local `remotes/origin/*` remote-tracking branches.
<3> arrange `git push` to push local `master` branch to <3> arrange `git push` to push all local branches to
`remotes/satellite/master` branch of the mothership machine. their corresponding branch of the mothership machine.
<4> push will stash our work away on `remotes/satellite/master` <4> push will stash all our work away on `remotes/satellite/*`
remote-tracking branch on the mothership machine. You could use this remote-tracking branches on the mothership machine. You could use this
as a back-up method. as a back-up method. Likewise, you can pretend that mothership
"fetched" from you (useful when access is one sided).
<5> on mothership machine, merge the work done on the satellite <5> on mothership machine, merge the work done on the satellite
machine into the master branch. machine into the master branch.
@ -195,17 +219,22 @@ Branch off of a specific tag.::
$ git checkout -b private2.6.14 v2.6.14 <1> $ git checkout -b private2.6.14 v2.6.14 <1>
$ edit/compile/test; git commit -a $ edit/compile/test; git commit -a
$ git checkout master $ git checkout master
$ git format-patch -k -m --stdout v2.6.14..private2.6.14 | $ git cherry-pick v2.6.14..private2.6.14 <2>
git am -3 -k <2>
------------ ------------
+ +
<1> create a private branch based on a well known (but somewhat behind) <1> create a private branch based on a well known (but somewhat behind)
tag. tag.
<2> forward port all changes in `private2.6.14` branch to `master` branch <2> forward port all changes in `private2.6.14` branch to `master` branch
without a formal "merging". without a formal "merging". Or longhand +
`git format-patch -k -m --stdout v2.6.14..private2.6.14 |
git am -3 -k`
An alternate participant submission mechanism is using the
`git request-pull` or pull-request mechanisms (e.g as used on
GitHub (www.github.com) to notify your upstream of your
contribution.
Integrator[[Integrator]] Integrator[[INTEGRATOR]]
------------------------ ------------------------
A fairly central person acting as the integrator in a group A fairly central person acting as the integrator in a group
@ -213,6 +242,13 @@ project receives changes made by others, reviews and integrates
them and publishes the result for others to use, using these them and publishes the result for others to use, using these
commands in addition to the ones needed by participants. commands in addition to the ones needed by participants.
This section can also be used by those who respond to `git
request-pull` or pull-request on GitHub (www.github.com) to
integrate the work of others into their history. An sub-area
lieutenant for a repository will act both as a participant and
as an integrator.
* linkgit:git-am[1] to apply patches e-mailed in from your * linkgit:git-am[1] to apply patches e-mailed in from your
contributors. contributors.
@ -229,19 +265,19 @@ commands in addition to the ones needed by participants.
Examples Examples
~~~~~~~~ ~~~~~~~~
My typical Git day.:: A typical integrator's Git day.::
+ +
------------ ------------
$ git status <1> $ git status <1>
$ git show-branch <2> $ git branch --no-merged master <2>
$ mailx <3> $ mailx <3>
& s 2 3 4 5 ./+to-apply & s 2 3 4 5 ./+to-apply
& s 7 8 ./+hold-linus & s 7 8 ./+hold-linus
& q & q
$ git checkout -b topic/one master $ git checkout -b topic/one master
$ git am -3 -i -s -u ./+to-apply <4> $ git am -3 -i -s ./+to-apply <4>
$ compile/test $ compile/test
$ git checkout -b hold/linus && git am -3 -i -s -u ./+hold-linus <5> $ git checkout -b hold/linus && git am -3 -i -s ./+hold-linus <5>
$ git checkout topic/one && git rebase master <6> $ git checkout topic/one && git rebase master <6>
$ git checkout pu && git reset --hard next <7> $ git checkout pu && git reset --hard next <7>
$ git merge topic/one topic/two && git merge hold/linus <8> $ git merge topic/one topic/two && git merge hold/linus <8>
@ -249,51 +285,51 @@ $ git checkout maint
$ git cherry-pick master~4 <9> $ git cherry-pick master~4 <9>
$ compile/test $ compile/test
$ git tag -s -m "GIT 0.99.9x" v0.99.9x <10> $ git tag -s -m "GIT 0.99.9x" v0.99.9x <10>
$ git fetch ko && git show-branch master maint 'tags/ko-*' <11> $ git fetch ko && for branch in master maint next pu <11>
$ git push ko <12> do
$ git push ko v0.99.9x <13> git show-branch ko/$branch $branch <12>
done
$ git push --follow-tags ko <13>
------------ ------------
+ +
<1> see what I was in the middle of doing, if any. <1> see what you were in the middle of doing, if anything.
<2> see what topic branches I have and think about how ready <2> see which branches haven't been merged into `master` yet.
they are. Likewise for any other integration branches e.g. `maint`, `next`
and `pu` (potential updates).
<3> read mails, save ones that are applicable, and save others <3> read mails, save ones that are applicable, and save others
that are not quite ready. that are not quite ready (other mail readers are available).
<4> apply them, interactively, with my sign-offs. <4> apply them, interactively, with your sign-offs.
<5> create topic branch as needed and apply, again with my <5> create topic branch as needed and apply, again with sign-offs.
sign-offs.
<6> rebase internal topic branch that has not been merged to the <6> rebase internal topic branch that has not been merged to the
master or exposed as a part of a stable branch. master or exposed as a part of a stable branch.
<7> restart `pu` every time from the next. <7> restart `pu` every time from the next.
<8> and bundle topic branches still cooking. <8> and bundle topic branches still cooking.
<9> backport a critical fix. <9> backport a critical fix.
<10> create a signed tag. <10> create a signed tag.
<11> make sure I did not accidentally rewind master beyond what I <11> make sure master was not accidentally rewound beyond that
already pushed out. `ko` shorthand points at the repository I have already pushed out. `ko` shorthand points at the Git maintainer's
at kernel.org, and looks like this: repository at kernel.org, and looks like this:
+ +
------------ ------------
$ cat .git/remotes/ko (in .git/config)
URL: kernel.org:/pub/scm/git/git.git [remote "ko"]
Pull: master:refs/tags/ko-master url = kernel.org:/pub/scm/git/git.git
Pull: next:refs/tags/ko-next fetch = refs/heads/*:refs/remotes/ko/*
Pull: maint:refs/tags/ko-maint push = refs/heads/master
Push: master push = refs/heads/next
Push: next push = +refs/heads/pu
Push: +pu push = refs/heads/maint
Push: maint
------------ ------------
+ +
In the output from `git show-branch`, `master` should have <12> In the output from `git show-branch`, `master` should have
everything `ko-master` has, and `next` should have everything `ko/master` has, and `next` should have
everything `ko-next` has. everything `ko/next` has, etc.
<13> push out the bleeding edge, together with new tags that point
<12> push out the bleeding edge. into the pushed history.
<13> push the tag out, too.
Repository Administration[[Repository Administration]] Repository Administration[[ADMINISTRATION]]
------------------------------------------------------ -------------------------------------------
A repository administrator uses the following tools to set up A repository administrator uses the following tools to set up
and maintain access to the repository by developers. and maintain access to the repository by developers.
@ -304,9 +340,19 @@ and maintain access to the repository by developers.
* linkgit:git-shell[1] can be used as a 'restricted login shell' * linkgit:git-shell[1] can be used as a 'restricted login shell'
for shared central repository users. for shared central repository users.
* linkgit:git-http-backend[1] provides a server side implementation
of Git-over-HTTP ("Smart http") allowing both fetch and push services.
* linkgit:gitweb[1] provides a web front-end to Git repositories,
which can be set-up using the linkgit:git-instaweb[1] script.
link:howto/update-hook-example.html[update hook howto] has a good link:howto/update-hook-example.html[update hook howto] has a good
example of managing a shared central repository. example of managing a shared central repository.
In addition there are a number of other widely deployed hosting, browsing
and reviewing solutions such as:
* gitolite, gerrit code review, cgit and others.
Examples Examples
~~~~~~~~ ~~~~~~~~
@ -335,22 +381,25 @@ $ cat /etc/xinetd.d/git-daemon
# description: The Git server offers access to Git repositories # description: The Git server offers access to Git repositories
service git service git
{ {
disable = no disable = no
type = UNLISTED type = UNLISTED
port = 9418 port = 9418
socket_type = stream socket_type = stream
wait = no wait = no
user = nobody user = nobody
server = /usr/bin/git-daemon server = /usr/bin/git-daemon
server_args = --inetd --export-all --base-path=/pub/scm server_args = --inetd --export-all --base-path=/pub/scm
log_on_failure += USERID log_on_failure += USERID
} }
------------ ------------
+ +
Check your xinetd(8) documentation and setup, this is from a Fedora system. Check your xinetd(8) documentation and setup, this is from a Fedora system.
Others might be different. Others might be different.
Give push/pull only access to developers.:: Give push/pull only access to developers using git-over-ssh.::
e.g. those using:
`$ git push/pull ssh://host.xz/pub/scm/project`
+ +
------------ ------------
$ grep git /etc/passwd <1> $ grep git /etc/passwd <1>
@ -363,8 +412,8 @@ $ grep git /etc/shells <2>
------------ ------------
+ +
<1> log-in shell is set to /usr/bin/git-shell, which does not <1> log-in shell is set to /usr/bin/git-shell, which does not
allow anything but `git push` and `git pull`. The users should allow anything but `git push` and `git pull`. The users require
get an ssh access to the machine. ssh access to the machine.
<2> in many distributions /etc/shells needs to list what is used <2> in many distributions /etc/shells needs to list what is used
as the login shell. as the login shell.
@ -401,13 +450,6 @@ for branch policy control.
david is the release manager and is the only person who can david is the release manager and is the only person who can
create and push version tags. create and push version tags.
HTTP server to support dumb protocol transfer.:: GIT
+ ---
------------ Part of the linkgit:git[1] suite
dev$ git update-server-info <1>
dev$ ftp user@isp.example.com <2>
ftp> cp -r .git /home/user/myproject.git
------------
+
<1> make sure your info/refs and objects/info/packs are up-to-date
<2> upload to public HTTP server hosted by your ISP.

View File

@ -19,7 +19,7 @@ SEE ALSO
linkgit:gittutorial[7], linkgit:gittutorial[7],
linkgit:gittutorial-2[7], linkgit:gittutorial-2[7],
linkgit:gitcvs-migration[7], linkgit:gitcvs-migration[7],
link:everyday.html[Everyday Git], linkgit:giteveryday[7],
link:user-manual.html[The Git User's Manual] link:user-manual.html[The Git User's Manual]
GIT GIT

View File

@ -403,7 +403,7 @@ What next?
At this point you should know everything necessary to read the man At this point you should know everything necessary to read the man
pages for any of the git commands; one good place to start would be pages for any of the git commands; one good place to start would be
with the commands mentioned in link:everyday.html[Everyday Git]. You with the commands mentioned in linkgit:giteveryday[7]. You
should be able to find any unknown jargon in linkgit:gitglossary[7]. should be able to find any unknown jargon in linkgit:gitglossary[7].
The link:user-manual.html[Git User's Manual] provides a more The link:user-manual.html[Git User's Manual] provides a more
@ -427,7 +427,7 @@ linkgit:gitcvs-migration[7],
linkgit:gitcore-tutorial[7], linkgit:gitcore-tutorial[7],
linkgit:gitglossary[7], linkgit:gitglossary[7],
linkgit:git-help[1], linkgit:git-help[1],
link:everyday.html[Everyday Git], linkgit:giteveryday[7],
link:user-manual.html[The Git User's Manual] link:user-manual.html[The Git User's Manual]
GIT GIT

View File

@ -656,7 +656,7 @@ digressions that may be interesting at this point are:
* linkgit:gitworkflows[7]: Gives an overview of recommended * linkgit:gitworkflows[7]: Gives an overview of recommended
workflows. workflows.
* link:everyday.html[Everyday Git with 20 Commands Or So] * linkgit:giteveryday[7]: Everyday Git with 20 Commands Or So.
* linkgit:gitcvs-migration[7]: Git for CVS users. * linkgit:gitcvs-migration[7]: Git for CVS users.
@ -668,7 +668,7 @@ linkgit:gitcore-tutorial[7],
linkgit:gitglossary[7], linkgit:gitglossary[7],
linkgit:git-help[1], linkgit:git-help[1],
linkgit:gitworkflows[7], linkgit:gitworkflows[7],
link:everyday.html[Everyday Git], linkgit:giteveryday[7],
link:user-manual.html[The Git User's Manual] link:user-manual.html[The Git User's Manual]
GIT GIT

2
README
View File

@ -27,7 +27,7 @@ Torvalds with help of a group of hackers around the net.
Please read the file INSTALL for installation instructions. Please read the file INSTALL for installation instructions.
See Documentation/gittutorial.txt to get started, then see See Documentation/gittutorial.txt to get started, then see
Documentation/everyday.txt for a useful minimum set of commands, and Documentation/giteveryday.txt for a useful minimum set of commands, and
Documentation/git-commandname.txt for documentation of each command. Documentation/git-commandname.txt for documentation of each command.
If git has been correctly installed, then the tutorial can also be If git has been correctly installed, then the tutorial can also be
read with "man gittutorial" or "git help tutorial", and the read with "man gittutorial" or "git help tutorial", and the

View File

@ -421,6 +421,7 @@ static struct {
const char *help; const char *help;
} common_guides[] = { } common_guides[] = {
{ "attributes", N_("Defining attributes per path") }, { "attributes", N_("Defining attributes per path") },
{ "everyday", N_("Everyday Git With 20 Commands Or So") },
{ "glossary", N_("A Git glossary") }, { "glossary", N_("A Git glossary") },
{ "ignore", N_("Specifies intentionally untracked files to ignore") }, { "ignore", N_("Specifies intentionally untracked files to ignore") },
{ "modules", N_("Defining submodule properties") }, { "modules", N_("Defining submodule properties") },