[PATCH] git-local-fetch: Avoid confusing error messages on packed repositories
[gitweb.git] / Documentation / git-fetch.txt
index 017f6466010f31d9084257d3708aee18c6049abf..8c1cc0704836b1ebf046a538329a9c0e3e9dc399 100644 (file)
@@ -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
 ------