summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-05-04 14:07:40 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-05-08 19:20:14 +0200
commit467561c123a0606f7aa4928d26e454f8d5d879db (patch)
treeb5d6a762eddc446fcb8c79cadd039229add7bc9c /bin
parent223256609e251412661dbf231f881d8169be3aaf (diff)
change docu for -n/--dry-run
these are available (only) as git builtins. documenting them as if they were script options is moderately misleading, especially given how the cmdline is parsed. Change-Id: Ib7c0de652d8bd94159f417994e900a9546af7985 Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/git-gpush9
1 files changed, 3 insertions, 6 deletions
diff --git a/bin/git-gpush b/bin/git-gpush
index 9539df8..970bf9c 100755
--- a/bin/git-gpush
+++ b/bin/git-gpush
@@ -58,18 +58,15 @@ Description:
options are passed on directly to the normal 'git push' command.
If you want to avoid specifying all options first, any options
specified after a '--' are also passed on directly to the
- underlying 'git push' command.
+ underlying 'git push' command. This is can be particularly useful
+ with the -n/--dry-run options, which make git do everything except
+ actually sending the updates.
Options:
-v, --verbose
Shows the alias resolving, and final 'git push' command as a
comma-separated list of arguments.
- -n, --dry-run
- Do everything except actually send the updates.
- Can be combined with --verbose to see the final command gpush
- will run.
-
--aliases
Reports all registered aliases.