Skip to content

chore: untrack .env - #3

Open
CelestialBrain wants to merge 1 commit into
mainfrom
tmp/drop-env
Open

chore: untrack .env#3
CelestialBrain wants to merge 1 commit into
mainfrom
tmp/drop-env

Conversation

@CelestialBrain

Copy link
Copy Markdown
Owner

.gitignore has listed .env since the initial commit, but the file was already tracked, so the ignore never applied and the working copy has been published on every push since.

The values in it are stale local development settings. The JWT_SECRET in it was never the one production runs, and account has zero rows, so this is not an active auth bypass — but a tracked .env invites the next real secret to land in it. That is exactly what happened on revival/m0-unblock, where an OpenAI key was committed and caught only by GitHub push protection.

The blob stays in history. Removing it there means rewriting a public repo that has forks, which is not worth it for dead values. Untracking stops it at HEAD and lets the ignore do its job from here.

.gitignore has listed .env since the initial commit, but the file was
already tracked, so the ignore never applied and the working copy has
been published on every push since. The values in it are stale local
development settings — the JWT_SECRET here was never the one production
runs — but a tracked .env invites the next real secret to land in it,
which is exactly what happened on the revival branch and was caught only
by GitHub push protection.

The blob stays in history; removing it there means rewriting a public
repo with forks, which is not worth it for dead values. Untracking stops
it at HEAD and lets the ignore do its job from here.
@vercel

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
wheresthefx Ready Ready Preview, Comment Jul 26, 2026 10:00am

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