From edd2b0a4fa552d711bcf7561dead9c6c87146701 Mon Sep 17 00:00:00 2001
From: Junio C Hamano
Date: Mon, 15 Jan 2007 06:12:45 +0000
Subject: [PATCH] Autogenerated HTML docs for v1.5.0-rc1-g5fe3
---
config.txt | 7 +++++
core-tutorial.html | 67 +++++++++++---------------------------------
core-tutorial.txt | 51 +++++++++------------------------
everyday.html | 5 ++--
everyday.txt | 3 +-
git-describe.html | 40 +++++++++++++++++++++++++-
git-describe.txt | 30 ++++++++++++++++++++
git-log.html | 4 +--
git-log.txt | 2 +-
git-pull.html | 5 ++--
git-pull.txt | 3 +-
git-repo-config.html | 14 ++++++++-
git-rerere.html | 12 ++++----
git-rerere.txt | 10 +++----
git-reset.html | 6 +---
git-reset.txt | 4 ---
tutorial.html | 22 +++++++--------
tutorial.txt | 20 ++++++-------
18 files changed, 161 insertions(+), 144 deletions(-)
diff --git a/config.txt b/config.txt
index f7dba8977..faa17ba84 100644
--- a/config.txt
+++ b/config.txt
@@ -321,6 +321,13 @@ merge.summary::
Whether to include summaries of merged commits in newly created
merge commit messages. False by default.
+merge.verbosity::
+ Controls the amount of output shown by the recursive merge
+ strategy. Level 0 outputs nothing except a final error
+ message if conflicts were detected. Level 1 outputs only
+ conflicts, 2 outputs conflicts and file changes. Level 5 and
+ above outputs debugging information. The default is level 2.
+
pack.window::
The size of the window used by gitlink:git-pack-objects[1] when no
window size is given on the command line. Defaults to 10.
diff --git a/core-tutorial.html b/core-tutorial.html
index dd84bf099..1d4cba40a 100644
--- a/core-tutorial.html
+++ b/core-tutorial.html
@@ -1129,17 +1129,12 @@ of it as it can automatically (which in this case is just merge the example<
file, which had no differences in the mybranch branch), and say:
-
Trying really trivial in-index merge...
- fatal: Merge requires file-level merging
- Nope.
- ...
- Auto-merging hello
+ Auto-merging hello
CONFLICT (content): Merge conflict in hello
Automatic merge failed; fix up by hand
-which is way too verbose, but it basically tells you that it failed the
-really trivial merge ("Simple merge") and did an "Automatic merge"
-instead, but that too failed due to conflicts in hello.
+It tells you that it did an "Automatic merge", which
+failed due to conflicts in hello.
Not to worry. It left the (trivial) conflict in hello in the same form you
should already be well used to if you've ever used CVS, so let's just
open hello in our editor (whatever that may be), and fix it up somehow.
@@ -1357,37 +1352,15 @@ course, you will pay the price of more disk usage to hold
multiple working trees, but disk space is cheap these days.
-
-
-|
- Note
- |
-You could even pull from your own repository by
-giving . as <remote-repository> parameter to git pull. This
-is useful when you want to merge a local branch (or more, if you
-are making an Octopus) into the current branch. |
-
-
It is likely that you will be pulling from the same remote
repository from time to time. As a short hand, you can store
-the remote repository URL in a file under .git/remotes/
-directory, like this:
-
-
-
$ mkdir -p .git/remotes/
-$ cat >.git/remotes/linus <<\EOF
-URL: http://www.kernel.org/pub/scm/git/git.git/
-EOF
-
-and use the filename to git pull instead of the full URL.
-The URL specified in such file can even be a prefix
-of a full URL, like this:
+the remote repository URL in the local repository's config file
+like this:
-
$ cat >.git/remotes/jgarzik <<\EOF
-URL: http://www.kernel.org/pub/scm/linux/git/jgarzik/
-EOF
+
$ git repo-config remote.linus.url http://www.kernel.org/pub/scm/git/git.git/
+and use the "linus" keyword with git pull instead of the full URL.
Examples.
-
@@ -1400,11 +1373,6 @@ EOF
git pull linus tag v0.99.1
--
-
-git pull jgarzik/netdev-2.6.git/ e100
-
-
the above are equivalent to:
@@ -1418,11 +1386,6 @@ EOF
git pull http://www.kernel.org/pub/scm/git/git.git/ tag v0.99.1
--
-
-git pull http://www.kernel.org/pub/…/jgarzik/netdev-2.6.git e100
-
-
How does the merge work?
@@ -1812,7 +1775,8 @@ on that project and has an own "public repository" goes like this:
Prepare your work repository, by git clone the public
repository of the "project lead". The URL used for the
- initial cloning is stored in .git/remotes/origin.
+ initial cloning is stored in the remote.origin.url
+ configuration variable.
@@ -1872,7 +1836,8 @@ like this:
Prepare your work repository, by git clone the public
repository of the "project lead" (or a "subsystem
maintainer", if you work on a subsystem). The URL used for
- the initial cloning is stored in .git/remotes/origin.
+ the initial cloning is stored in the remote.origin.url
+ configuration variable.
@@ -1885,7 +1850,7 @@ Do your work in your repository on master branch.
Run git fetch origin from the public repository of your
upstream every once in a while. This does only the first
half of git pull but does not merge. The head of the
- public repository is stored in .git/refs/heads/origin.
+ public repository is stored in .git/refs/remotes/origin/master.
@@ -1973,11 +1938,11 @@ branch before these two merges by resetting it to master~2:
You can make sure git show-branch matches the state before
those two git merge you just did. Then, instead of running
-two git merge commands in a row, you would pull these two
+two git merge commands in a row, you would merge these two
branch heads (this is known as making an Octopus):
-
$ git pull . commit-fix diff-fix
+$ git merge commit-fix diff-fix
$ git show-branch
! [commit-fix] Fix commit message normalization.
! [diff-fix] Fix rename detection.
@@ -1992,7 +1957,7 @@ $ git show-branch
Note that you should not do Octopus because you can. An octopus
is a valid thing to do and often makes it easier to view the
-commit history if you are pulling more than two independent
+commit history if you are merging more than two independent
changes at the same time. However, if you have merge conflicts
with any of the branches you are merging in and need to hand
resolve, that is an indication that the development happened in
@@ -2004,7 +1969,7 @@ to follow, not easier.