summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Sam Vilain <sam.vilain@catalyst.net.nz>2007-06-30 20:56:16 +1200
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-06-30 10:50:28 -0700
commit181ea688b83d3b46b9d0e55f1db0123332611db6 (patch)
tree19fca16aeb61b2f48c8a0dca6a7c0ad2e6040289
parentrepack: improve documentation on -a option (diff)
downloadtgif-181ea688b83d3b46b9d0e55f1db0123332611db6.tar.xz
git-remote: document -n
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>
-rw-r--r--Documentation/git-remote.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt
index 3dde7134a5..b35c65ba3b 100644
--- a/Documentation/git-remote.txt
+++ b/Documentation/git-remote.txt
@@ -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'::