]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-remote: document -n
authorSam Vilain <sam.vilain@catalyst.net.nz>
Sat, 30 Jun 2007 08:56:16 +0000 (20:56 +1200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 30 Jun 2007 17:50:28 +0000 (10:50 -0700)
The 'show' and 'prune' commands accept an option '-n'; document what
it does.

Signed-off-by: Sam Vilain <sam.vilain@catalyst.net.nz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-remote.txt

index 3dde7134a5cedc6d58a934e1dd61db26d5e459ae..b35c65ba3b7307d6dff600d9d4b4907596ecbe5a 100644 (file)
@@ -49,6 +49,9 @@ branch the `HEAD` at the remote repository actually points at.
 'show'::
 
 Gives some information about the remote <name>.
++
+With `-n` option, the remote heads are not queried first with
+`git ls-remote <name>`; cached information is used instead.
 
 'prune'::
 
@@ -56,6 +59,10 @@ Deletes all stale tracking branches under <name>.
 These stale branches have already been removed from the remote repository
 referenced by <name>, but are still locally available in
 "remotes/<name>".
++
+With `-n` option, the remote heads are not confirmed first with `git
+ls-remote <name>`; cached information is used instead.  Use with
+caution.
 
 'update'::