Skip to content

Commit

Permalink
git-remote: document -n
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sam Vilain authored and Junio C Hamano committed Jun 30, 2007
1 parent 38d697a commit 181ea68
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Documentation/git-remote.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,20 @@ 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'::

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'::

Expand Down

0 comments on commit 181ea68

Please sign in to comment.