Skip to content

Ignore local .env files - #2

Merged
Shirofune-Security merged 1 commit into
mainfrom
fix/ignore-env-files-20261111
Nov 11, 2026
Merged

Shirofune-Security merged 1 commit into
mainfrom
fix/ignore-env-files-20261111

Conversation

@Shirofune-Security

Copy link
Copy Markdown
Collaborator

Add .env to the repository ignore rules so local environment files at the root or in subdirectories are excluded from ordinary git add operations. Existing tracked templates and .env.example files remain unchanged.

Validation: isolated git check-ignore --no-index checks passed for root and nested .env paths, including directories with their own ignore files. Only .gitignore changes.

Ignore rules do not remove previously tracked files or rewrite Git history.

Ignore local environment files at any depth while retaining existing example templates.
@Shirofune-Security
Shirofune-Security merged commit 4926d09 into main Nov 11, 2026
7 checks passed
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