aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-push.txt
diff options
context:
space:
mode:
authorNelson Elhage <nelhage@MIT.EDU>2009-09-13 12:56:45 -0400
committerJunio C Hamano <gitster@pobox.com>2009-09-13 11:29:18 -0700
commit9f67fee2f0190e0b10e73862cbb88a3f7216f619 (patch)
tree4ee21bd4d021e3fa970bafcb29e3670fff3a363a /Documentation/git-push.txt
parent12efe45a3363ebecd8954d04caadb23eba2e5020 (diff)
downloadgit-9f67fee2f0190e0b10e73862cbb88a3f7216f619.tar.gz
git-9f67fee2f0190e0b10e73862cbb88a3f7216f619.tar.xz
git-push: Accept -n as a synonym for --dry-run.
git-push is not currently using -n for anything else, and it seems unlikely we will want to use it to mean anything else in the future, so add it as an alias for convenience. Signed-off-by: Nelson Elhage <nelhage@mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-push.txt')
-rw-r--r--Documentation/git-push.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt
index 58d2bd5d4..ba6a8a2fb 100644
--- a/Documentation/git-push.txt
+++ b/Documentation/git-push.txt
@@ -9,7 +9,7 @@ git-push - Update remote refs along with associated objects
SYNOPSIS
--------
[verse]
-'git push' [--all | --mirror | --tags] [--dry-run] [--receive-pack=<git-receive-pack>]
+'git push' [--all | --mirror | --tags] [-n | --dry-run] [--receive-pack=<git-receive-pack>]
[--repo=<repository>] [-f | --force] [-v | --verbose]
[<repository> <refspec>...]
@@ -82,6 +82,7 @@ nor in any Push line of the corresponding remotes file---see below).
if the configuration option `remote.<remote>.mirror` is
set.
+-n::
--dry-run::
Do everything except actually send the updates.