diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-05-07 13:20:28 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-05-07 13:20:28 +0900 |
commit | be601db52373745ac789abd913f1a259585c958a (patch) | |
tree | 61431ac4cfb4ac7934254a7230e9dc17504a4bf3 /git-rm.txt | |
parent | 4078a55a6fb467915a2f03f271d1390b97eabc13 (diff) | |
download | git-htmldocs-be601db52373745ac789abd913f1a259585c958a.tar.gz |
Autogenerated HTML docs for v2.31.1-527-g2d677e
Diffstat (limited to 'git-rm.txt')
-rw-r--r-- | git-rm.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/git-rm.txt b/git-rm.txt index ab750367f..26e9b2847 100644 --- a/git-rm.txt +++ b/git-rm.txt @@ -23,7 +23,9 @@ branch, and no updates to their contents can be staged in the index, though that default behavior can be overridden with the `-f` option. When `--cached` is given, the staged content has to match either the tip of the branch or the file on disk, -allowing the file to be removed from just the index. +allowing the file to be removed from just the index. When +sparse-checkouts are in use (see linkgit:git-sparse-checkout[1]), +`git rm` will only remove paths within the sparse-checkout patterns. OPTIONS |