summaryrefslogtreecommitdiff
path: root/Documentation/git-rm.txt
diff options
context:
space:
mode:
authorSteven Grimm <koreth@midwinter.com>2007-04-16 07:53:24 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-04-17 07:19:11 (GMT)
commitbb1faf0d5bc53b193bbe25e7425458c8eb85efa3 (patch)
tree46db8d5a9e7845ebe78ee2148a5bd69c8b989268 /Documentation/git-rm.txt
parentf948792990f82a35bf0c98510e7511ef8acb9cd3 (diff)
downloadgit-bb1faf0d5bc53b193bbe25e7425458c8eb85efa3.zip
git-bb1faf0d5bc53b193bbe25e7425458c8eb85efa3.tar.gz
git-bb1faf0d5bc53b193bbe25e7425458c8eb85efa3.tar.bz2
Add --ignore-unmatch option to exit with zero status when no files are removed.
Signed-off-by: Steven Grimm <koreth@midwinter.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-rm.txt')
-rw-r--r--Documentation/git-rm.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-rm.txt b/Documentation/git-rm.txt
index b051ccb..a65f24a 100644
--- a/Documentation/git-rm.txt
+++ b/Documentation/git-rm.txt
@@ -7,7 +7,7 @@ git-rm - Remove files from the working tree and from the index
SYNOPSIS
--------
-'git-rm' [-f] [-n] [-r] [--cached] [--] <file>...
+'git-rm' [-f] [-n] [-r] [--cached] [--ignore-unmatch] [--quiet] [--] <file>...
DESCRIPTION
-----------
@@ -47,6 +47,9 @@ OPTIONS
the paths only from the index, leaving working tree
files.
+\--ignore-unmatch::
+ Exit with a zero status even if no files matched.
+
\--quiet::
git-rm normally outputs one line (in the form of an "rm" command)
for each file removed. This option suppresses that output.