Repository navigation
chore: ignore env files - #9
Merged
Merged
Conversation
The repo had no .env rule, so a stray .env sat in git status as an untracked file and could be added by a broad `git add`. The pre-commit hook blocks .env at commit time, but the ignore stops it showing up at all, which is the earlier guard. .env.example stays trackable so a template can be committed. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
koryei
force-pushed
the
chore/ignore-env-files
branch
from
November 27, 2026 03:41
071cd2a to
41e203e
Compare
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 changed
Adds a secrets block to
.gitignore:Why
The repo had no
.envrule, so a stray.envshowed up ingit statusas anuntracked file and could be swept in by a broad
git add. Thepre-commithook already blocks
.envat commit time, but the ignore is the earlier guard:the file never appears as a candidate in the first place.
.env.examplestays trackable so a template can still be committed.How to verify
What did not change
node_modules/and build output are not added: the project is dependency-freebash with no build step, so neither can appear.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe vibe@mistral.ai