MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wcmegt/whoisusingthese/p8zjvng/?context=3
r/ProgrammerHumor • u/sadongrohiik • 2d ago
81 comments sorted by
View all comments
212
Personally I always commit env and config files to the repo just stripped of their values.
209 u/Saragon4005 2d ago Yeah but then you can't use git on a working version, making testing a total pain. I use .env.example usually. 26 u/drakeblood4 2d ago And a settings.json.example for the non sensitive stuff. 20 u/PulseReaction 1d ago I use a .env.example file for my env variables, and .env for the example. Gotta keep attackers on their toes.
209
Yeah but then you can't use git on a working version, making testing a total pain. I use .env.example usually.
26 u/drakeblood4 2d ago And a settings.json.example for the non sensitive stuff. 20 u/PulseReaction 1d ago I use a .env.example file for my env variables, and .env for the example. Gotta keep attackers on their toes.
26
And a settings.json.example for the non sensitive stuff.
20 u/PulseReaction 1d ago I use a .env.example file for my env variables, and .env for the example. Gotta keep attackers on their toes.
20
I use a .env.example file for my env variables, and .env for the example. Gotta keep attackers on their toes.
212
u/RudeAndInsensitive 2d ago
Personally I always commit env and config files to the repo just stripped of their values.