diff options
author | Tay Ray Chuan <rctay89@gmail.com> | 2010-04-10 10:50:19 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-04-09 21:23:10 -0700 |
commit | e3163c75156f1b85e8a778cecfacae63c14dcdbb (patch) | |
tree | b32ba1c95636e28f2e14a515d5adfab270a90278 /Documentation/git-fetch.txt | |
parent | 4c35f0dbc41a2bb79e4f597d3b7bdb265c5ea750 (diff) | |
download | git-e3163c75156f1b85e8a778cecfacae63c14dcdbb.tar.gz |
fetch/push: fix usage strings
- use "<options>" instead of just "options".
- use "[<repository> [<refspec>...]]" to indicate that <repository> and
<refspec> are optional, and that <refspec> cannot be specified
without specifying <repository>.
Note that when called without specifying <repository> (eg. "git fetch
-f"), it is accurate to say that the "git fetch [<options>]
[<repository> ...]" case takes precedence over "git fetch [<options>]
<group>".
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-fetch.txt')
-rw-r--r-- | Documentation/git-fetch.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/git-fetch.txt b/Documentation/git-fetch.txt index 948ea26c5a..400fe7f956 100644 --- a/Documentation/git-fetch.txt +++ b/Documentation/git-fetch.txt @@ -8,13 +8,13 @@ git-fetch - Download objects and refs from another repository SYNOPSIS -------- -'git fetch' <options> <repository> <refspec>... +'git fetch' [<options>] [<repository> [<refspec>...]] -'git fetch' <options> <group> +'git fetch' [<options>] <group> -'git fetch' --multiple <options> [<repository> | <group>]... +'git fetch' --multiple [<options>] [<repository> | <group>]... -'git fetch' --all <options> +'git fetch' --all [<options>] DESCRIPTION |