summaryrefslogtreecommitdiffstats
path: root/fetch-options.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-01-02 00:04:15 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-01-02 00:04:15 +0000
commitb288d9efccdc870a87fa612f162eff891f26a71f (patch)
tree36ef915fff1dd53ad5b9677b1aacd6477cd3f8d6 /fetch-options.txt
parentd3361ad1971d98f2e17e3bb09b77eee7b93700f0 (diff)
downloadgit-htmldocs-b288d9efccdc870a87fa612f162eff891f26a71f.tar.gz
Autogenerated HTML docs for v1.5.0-rc0-gf4bf2
Diffstat (limited to 'fetch-options.txt')
-rw-r--r--fetch-options.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/fetch-options.txt b/fetch-options.txt
index 13f34d3ca..5b4d184a7 100644
--- a/fetch-options.txt
+++ b/fetch-options.txt
@@ -36,6 +36,13 @@
-u, \--update-head-ok::
By default `git-fetch` refuses to update the head which
corresponds to the current branch. This flag disables the
- check. Note that fetching into the current branch will not
- update the index and working directory, so use it with care.
+ check. This is purely for the internal use for `git-pull`
+ to communicate with `git-fetch`, and unless you are
+ implementing your own Porcelain you are not supposed to
+ use it.
+
+\--depth=<depth>::
+ Deepen the history of a 'shallow' repository created by
+ `git clone` with `--depth=<depth>` option (see gitlink:git-clone[1])
+ by the specified number of commits.