docs: correct description of tracking of ignored files

This commit is contained in:
Martin von Zweigbergk 2025-03-06 08:50:31 -08:00
parent 5eae2d92a0
commit 9aeb13488c

View File

@ -67,12 +67,9 @@ See https://git-scm.com/docs/gitignore for details about the format.
as in `$XDG_CONFIG_HOME/git/ignore` and `$GIT_DIR/info/exclude`.
Ignored files are never tracked automatically (regardless of the value of
`snapshot.auto-track`), but they can still end up being tracked for a few reasons:
* if they were tracked in the parent commit
* because of an explicit `jj file track` command
You can untrack such files with the `jj file untrack` command.
`snapshot.auto-track`), but files that were already tracked will remain tracked
even if they match ignore patterns. You can untrack such files with the
`jj file untrack` command.
## Workspaces