summaryrefslogtreecommitdiffstats
path: root/gitignore.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-05-10 11:59:24 -0700
committerJunio C Hamano <gitster@pobox.com>2023-05-10 11:59:24 -0700
commit7ab2d2049fb91c247b9a764f0f7b6bbac411e5fd (patch)
tree9fe7bdfe105914585d07e0f127595ceb797cc3e0 /gitignore.txt
parent8dc18870b81cf54a9c4d1bff419c92da2303162f (diff)
downloadgit-htmldocs-7ab2d2049fb91c247b9a764f0f7b6bbac411e5fd.tar.gz
Autogenerated HTML docs for v2.40.1-552-g91428
Diffstat (limited to 'gitignore.txt')
-rw-r--r--gitignore.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/gitignore.txt b/gitignore.txt
index f2738b10d..4c17f2356 100644
--- a/gitignore.txt
+++ b/gitignore.txt
@@ -146,7 +146,9 @@ The purpose of gitignore files is to ensure that certain files
not tracked by Git remain untracked.
To stop tracking a file that is currently tracked, use
-'git rm --cached'.
+'git rm --cached' to remove the file from the index. The filename
+can then be added to the `.gitignore` file to stop the file from
+being reintroduced in later commits.
Git does not follow symbolic links when accessing a `.gitignore` file in
the working tree. This keeps behavior consistent when the file is