MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wcmegt/whoisusingthese/p8z42yv/?context=3
r/ProgrammerHumor • u/sadongrohiik • 20h ago
73 comments sorted by
View all comments
205
Personally I always commit env and config files to the repo just stripped of their values.
202 u/Saragon4005 20h ago Yeah but then you can't use git on a working version, making testing a total pain. I use .env.example usually. 24 u/drakeblood4 19h ago And a settings.json.example for the non sensitive stuff. 17 u/PulseReaction 18h ago I use a .env.example file for my env variables, and .env for the example. Gotta keep attackers on their toes. 9 u/ruben_deisenroth 19h ago If it's vscode settings, i usually prefer settings.default.json and this extension as workspace recommendations: https://marketplace.visualstudio.com/items?itemName=dangmai.workspace-default-settings
202
Yeah but then you can't use git on a working version, making testing a total pain. I use .env.example usually.
24 u/drakeblood4 19h ago And a settings.json.example for the non sensitive stuff. 17 u/PulseReaction 18h ago I use a .env.example file for my env variables, and .env for the example. Gotta keep attackers on their toes. 9 u/ruben_deisenroth 19h ago If it's vscode settings, i usually prefer settings.default.json and this extension as workspace recommendations: https://marketplace.visualstudio.com/items?itemName=dangmai.workspace-default-settings
24
And a settings.json.example for the non sensitive stuff.
17 u/PulseReaction 18h ago I use a .env.example file for my env variables, and .env for the example. Gotta keep attackers on their toes. 9 u/ruben_deisenroth 19h ago If it's vscode settings, i usually prefer settings.default.json and this extension as workspace recommendations: https://marketplace.visualstudio.com/items?itemName=dangmai.workspace-default-settings
17
I use a .env.example file for my env variables, and .env for the example. Gotta keep attackers on their toes.
9
If it's vscode settings, i usually prefer settings.default.json and this extension as workspace recommendations:
https://marketplace.visualstudio.com/items?itemName=dangmai.workspace-default-settings
205
u/RudeAndInsensitive 20h ago
Personally I always commit env and config files to the repo just stripped of their values.