diff options
author | Junio C Hamano <junio@kernel.org> | 2011-08-05 00:05:45 +0000 |
---|---|---|
committer | Junio C Hamano <junio@kernel.org> | 2011-08-05 00:05:45 +0000 |
commit | 16ebcd0bda2d592eefc14d4450d21986d961b181 (patch) | |
tree | 7102ad97bc23a41080b6675b67edb2c977386d58 /git-rm.txt | |
parent | 86d8436428960039361c286795019ee5b9629272 (diff) | |
download | git-htmldocs-16ebcd0bda2d592eefc14d4450d21986d961b181.tar.gz |
Autogenerated HTML docs for v1.7.6-404-g5d2fc
Diffstat (limited to 'git-rm.txt')
-rw-r--r-- | git-rm.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-rm.txt b/git-rm.txt index da0215d20..665ad4dda 100644 --- a/git-rm.txt +++ b/git-rm.txt @@ -137,7 +137,7 @@ git diff --name-only --diff-filter=D -z | xargs -0 git rm --cached EXAMPLES -------- -git rm Documentation/\*.txt:: +`git rm Documentation/\*.txt`:: Removes all `*.txt` files from the index that are under the `Documentation` directory and any of its subdirectories. + @@ -145,7 +145,7 @@ Note that the asterisk `*` is quoted from the shell in this example; this lets git, and not the shell, expand the pathnames of files and subdirectories under the `Documentation/` directory. -git rm -f git-*.sh:: +`git rm -f git-*.sh`:: Because this example lets the shell expand the asterisk (i.e. you are listing the files explicitly), it does not remove `subdir/git-foo.sh`. |