aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-fetch.txt
diff options
context:
space:
mode:
authorSergey Vlasov <vsu@altlinux.ru>2005-09-14 16:48:05 +0400
committerJunio C Hamano <junkio@cox.net>2005-09-15 13:16:31 -0700
commit61420a2cb45c01e55d5bfc6abc632b9a41bb73a7 (patch)
tree66403671f1045aa1478e8b5210f91497b0ffd8b8 /Documentation/git-fetch.txt
parent60d0526aaa5d29589420bfadd0623ec878c5edf3 (diff)
downloadgit-61420a2cb45c01e55d5bfc6abc632b9a41bb73a7.tar.gz
git-61420a2cb45c01e55d5bfc6abc632b9a41bb73a7.tar.xz
[PATCH] Document git-fetch options
Add documentation for git-fetch options Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-fetch.txt')
-rw-r--r--Documentation/git-fetch.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-fetch.txt b/Documentation/git-fetch.txt
index 017f64660..8c1cc0704 100644
--- a/Documentation/git-fetch.txt
+++ b/Documentation/git-fetch.txt
@@ -26,6 +26,12 @@ OPTIONS
-------
include::pull-fetch-param.txt[]
+-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.
+
Author
------