diff options
author | Gerrit Pape <pape@smarden.org> | 2007-11-04 12:37:20 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-06 11:18:39 +0300 |
commit | 521b53e5c7ee23a137e903d99108f81d44cca5ec (patch) | |
tree | 9fe349b3f6c40ee2edf24417101f0c9aceeb31e3 /Documentation | |
parent | fe61935007b6803ce116e233316e4ff51de02be6 (diff) |
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')
-rw-r--r-- | Documentation/git-reset.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/git-reset.txt b/Documentation/git-reset.txt index 87afa6f8da0..050e4eadbb3 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. |