check_gitignore
Determine whether each .env file is git-ignored, tracked, or present in commit history, and flag ignored templates or deleted env files still exposed in history.
Instructions
Is each real env file safe from git? For every .env/.env.* file (templates excluded) says
whether it is ignored, tracked, or present in any commit on any branch, and lists env files
that were committed once and deleted (still in history). Uses git check-ignore,
git ls-files and git log --all by file name only: no content is read, no history is
rewritten. Also flags a template that is itself ignored. Requires git on PATH.
path: folder inside the repository to check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |