chore: harden .gitignore + stop tracking build/runtime artifacts#16
Open
jjohare wants to merge 1 commit into
Open
chore: harden .gitignore + stop tracking build/runtime artifacts#16jjohare wants to merge 1 commit into
jjohare wants to merge 1 commit into
Conversation
- add recursive ignore variants (**/.venv, **/node_modules, **/target, **/__pycache__, **/.claude-flow, **/test-results) - untrack committed artifacts: .venv/ (~135 MB), client/public/models/, client/**/.claude-flow/metrics/*.json, data/metadata/metadata.json - untrack scripts/https-bridge/server.key (private key that slipped past *.key) NOTE: prevents future bloat only; does not shrink existing clone/history. SECURITY: server.key remains in git history — it should be rotated and the history purged separately.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Hardens
.gitignoreand untracks build/runtime artifacts that were committed before the ignore rules existed.**/.venv,**/node_modules,**/target,**/__pycache__,**/.claude-flow,**/test-results(current rules are top-level only)..venv/(~135 MB Python venv),client/public/models/,client/**/.claude-flow/metrics/*.json,data/metadata/metadata.json.scripts/https-bridge/server.keyslipped past the*.keyrule.Why
Stops the repo from re-accumulating multi-hundred-MB artifacts on every checkout/commit.
git filter-repo.server.keyremains in git history. Untracking does not remove it. It should be rotated and purged from history separately.🤖 Generated with claude-flow