Do Not Leave Valuables in Env
Many development projects have extra special strings that shall not be shared with others: keys, passwords, tokens. Stuff you wouldn’t commit into your Git repo, right? Right!? Unfortunately putting them into a .env file and adding that to .gitignore doesn’t cut it anymore, since coding assistants may not respect these boundaries the way you might expect from a deterministic system. Push them just a little and they will happily slurp the most sensitive strings and upload them to remote servers.
thomas.skowron.eu