author | Tay Ray Chuan <rctay89@gmail.com> | |
Sat, 10 Apr 2010 02:50:19 +0000 (10:50 +0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 10 Apr 2010 04:23:10 +0000 (21:23 -0700) | ||
commit | e3163c75156f1b85e8a778cecfacae63c14dcdbb | |
tree | b32ba1c95636e28f2e14a515d5adfab270a90278 | tree | snapshot |
parent | 4c35f0dbc41a2bb79e4f597d3b7bdb265c5ea750 | commit | diff |
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>
- 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>
Documentation/git-fetch.txt | diff | blob | history | |
Documentation/git-push.txt | diff | blob | history | |
builtin-fetch.c | diff | blob | history | |
builtin-push.c | diff | blob | history |