doc: add '-d' and '-o' for 'git push'
Add the missing `-o` shortcut for `--push-option` to the synopsis. Add the missing `-d` shortcut for `--delete` in the main section. Signed-off-by: Andreas Heiduk <asheiduk@gmail.com> Reviewed-by: Martin Ågren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Andreas Heiduk committed
May 3, 2018 at 20:48 UTC
97c5d246ec90122b177fbeaa43b74b64a39413d9
1 file changed
+2
-1
Documentation/git-push.txt
+2
-1
@@ -11,7 +11,7 @@ SYNOPSIS
11
[verse]
12
'git push' [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>]
13
[--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]
14
- [-u | --set-upstream] [--push-option=<string>]
14
+ [-u | --set-upstream] [-o <string> | --push-option=<string>]
15
[--[no-]signed|--signed=(true|false|if-asked)]
16
[--force-with-lease[=<refname>[:<expect>]]]
17
[--no-verify] [<repository> [<refspec>...]]
@@ -123,6 +123,7 @@ already exists on the remote side.
123
will be tab-separated and sent to stdout instead of stderr. The full
124
symbolic names of the refs will be given.
125
126
+-d::
127
--delete::
128
All listed refs are deleted from the remote repository. This is
129
the same as prefixing all refs with a colon.