summaryrefslogtreecommitdiff
path: root/Documentation/git-reset.txt
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2007-11-04 09:37:20 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-11-06 08:18:39 (GMT)
commit521b53e5c7ee23a137e903d99108f81d44cca5ec (patch)
tree9fe349b3f6c40ee2edf24417101f0c9aceeb31e3 /Documentation/git-reset.txt
parentfe61935007b6803ce116e233316e4ff51de02be6 (diff)
downloadgit-521b53e5c7ee23a137e903d99108f81d44cca5ec.zip
git-521b53e5c7ee23a137e903d99108f81d44cca5ec.tar.gz
git-521b53e5c7ee23a137e903d99108f81d44cca5ec.tar.bz2
git-reset: add -q option to operate quietly
Many git commands have a -q option to suppress output to stdout, let's have it for git-reset too. This was asked for by Joey Hess through http://bugs.debian.org/444933 Signed-off-by: Gerrit Pape <pape@smarden.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-reset.txt')
-rw-r--r--Documentation/git-reset.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/git-reset.txt b/Documentation/git-reset.txt
index 87afa6f..050e4ea 100644
--- a/Documentation/git-reset.txt
+++ b/Documentation/git-reset.txt
@@ -8,8 +8,8 @@ git-reset - Reset current HEAD to the specified state
SYNOPSIS
--------
[verse]
-'git-reset' [--mixed | --soft | --hard] [<commit>]
-'git-reset' [--mixed] <commit> [--] <paths>...
+'git-reset' [--mixed | --soft | --hard] [-q] [<commit>]
+'git-reset' [--mixed] [-q] <commit> [--] <paths>...
DESCRIPTION
-----------
@@ -45,6 +45,9 @@ OPTIONS
switched to. Any changes to tracked files in the working tree
since <commit> are lost.
+-q::
+ Be quiet, only report errors.
+
<commit>::
Commit to make the current HEAD.