Skip to content

chore: ignore every .env variant, not one at a time - #10

Merged
abrichr merged 1 commit into
mainfrom
chore/gitignore-env-variants
Aug 26, 2026
Merged

chore: ignore every .env variant, not one at a time#10
abrichr merged 1 commit into
mainfrom
chore/gitignore-env-variants

Conversation

@abrichr

@abrichr abrichr commented Aug 26, 2026

Copy link
Copy Markdown
Member

.gitignore did not cover .env.bak or .env.local. A .env.bak with populated API keys was found in a local stash in another repo: untracked, on no remote, nothing leaked, but one git add -A from being committed.

Uses .env.* and negates .env.example. Part of a workspace-wide sweep.

.gitignore did not cover .env.bak or .env.local. A .env.bak containing
populated API keys was found in a local stash in another repo, untracked
and one `git add -A` from being committed.

Use a glob and negate the committed .env.example template.
@abrichr
abrichr merged commit f585a0e into main Aug 26, 2026
1 check passed
@abrichr
abrichr deleted the chore/gitignore-env-variants branch August 26, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant