Conversation
Greptile SummaryThis PR adds Key changes:
Issues found:
Confidence Score: 3/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Developer runs tsc --build] --> B[*.tsbuildinfo files generated]
B --> C{Already tracked\nin git index?}
C -- Yes --> D[git still tracks & commits them\n⚠️ .gitignore has no effect]
C -- No --> E[.gitignore pattern applies\n✅ Files are ignored]
D --> F[Fix: git rm --cached *.tsbuildinfo\nthen commit removal]
F --> E
Last reviewed commit: bf5218e |
|
|
||
| # TypeScript build output | ||
| dist/ | ||
| *.tsbuildinfo |
There was a problem hiding this comment.
Already-tracked .tsbuildinfo files won't be ignored
Adding *.tsbuildinfo to .gitignore only prevents future untracked files from being committed. However, there are currently 6 .tsbuildinfo files already tracked by git in this repository:
packages/channels/tsconfig.tsbuildinfopackages/core/tsconfig.tsbuildinfopackages/main/tsconfig.tsbuildinfopackages/server/tsconfig.tsbuildinfopackages/teams/tsconfig.tsbuildinfopackages/visualizer/tsconfig.tsbuildinfo
These files will continue to be tracked and show up in diffs even after this change. To fully untrack them, the following command needs to be run and the result committed:
git rm --cached packages/channels/tsconfig.tsbuildinfo \
packages/core/tsconfig.tsbuildinfo \
packages/main/tsconfig.tsbuildinfo \
packages/server/tsconfig.tsbuildinfo \
packages/teams/tsconfig.tsbuildinfo \
packages/visualizer/tsconfig.tsbuildinfo
Or more concisely:
git rm --cached **/*.tsbuildinfo
These are TypeScript incremental build cache files that should not be tracked in version control. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
bf5218e to
c1d402e
Compare
Description
Add
*.tsbuildinfoto.gitignore. These are TypeScript incremental build cache files generated bytsc --buildand should not be tracked in version control.Changes
*.tsbuildinfopattern to.gitignoreTesting
npm run build🤖 Generated with Claude Code