summaryrefslogtreecommitdiffstats
path: root/git-rm.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-03-25 16:37:03 -0700
committerJunio C Hamano <gitster@pobox.com>2013-03-25 16:37:03 -0700
commit240dc3fd4523f8d7034fc6ab627d271d5b273487 (patch)
tree3b8708d75bb9b6a11375c8c2db1e3bc4ee56aa81 /git-rm.txt
parent5e7f131ec750093b9c1691ff92db43b0595ea98c (diff)
downloadgit-htmldocs-240dc3fd4523f8d7034fc6ab627d271d5b273487.tar.gz
Autogenerated HTML docs for v1.8.2-200-g7632c
Diffstat (limited to 'git-rm.txt')
-rw-r--r--git-rm.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-rm.txt b/git-rm.txt
index 92bac27e0..1d876c261 100644
--- a/git-rm.txt
+++ b/git-rm.txt
@@ -149,6 +149,10 @@ files that aren't ignored are present in the submodules work tree.
Ignored files are deemed expendable and won't stop a submodule's work
tree from being removed.
+If you only want to remove the local checkout of a submodule from your
+work tree without committing the removal,
+use linkgit:git-submodule[1] `deinit` instead.
+
EXAMPLES
--------
`git rm Documentation/\*.txt`::