Worldbuilding Design Lab ·
An ignore rule does not make an already tracked lore export untracked
Check whether a generated lore export is already tracked before expecting a new gitignore pattern to stop it appearing as a tracked change.
A generated lore preview keeps appearing in the repository's change list. The team adds its name to gitignore, but the file still appears when it changes. Before trying increasingly broad patterns, check whether Git already tracks that path.
The gitignore reference states that ignore rules concern intentionally untracked files. Files already tracked are not affected. A pattern can be appropriate for future generated previews while having no effect on a preview that entered the repository earlier.
Identify the file's role and tracking state
Decide what the file represents. A generated reading copy and the editable source note serve different roles. The team may intentionally version one, both or neither, but that should be an explicit project decision rather than a reaction to a busy status display.
Use the repository's status and existing file record to determine whether the path is tracked. The Git book distinguishes tracked files from untracked ones. Keep that distinction separate from whether the current file is modified, because a tracked file can be unchanged or changed.
If the file is untracked, review the pattern and where the ignore file sits. The reference explains that patterns can be relative to the directory containing the ignore file and that more local patterns can affect matching. Check a specific path before expanding the rule to a large part of the lore project.
If the file is already tracked, ask the project maintainer to review the intended tracking change through the established workflow. Adding another ignore pattern is not the operation that changes that state. Preserve the editable source and the team's useful records while making the decision concrete.
Document which outputs are generated, which source files produce them and whether the convention is meant to be shared with collaborators. This makes future previews easier to classify without guessing from filenames alone.
The shop can support a concrete storage or workstation need. The repository improvement comes from aligning the file's role, tracking state and ignore policy, so an ignored-looking name does not conceal a different state already recorded by Git.
Sources and further reading
- Git - gitignore Documentation · Read 2026-11-12
- Git - Recording Changes to the Repository · Read 2026-11-12
This is general information. Check the relevant authority or manufacturer for the rules, compatibility and terms that apply to your situation.
More practical guides