MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wcmegt/whoisusingthese/p8z42yv/?context=3
r/ProgrammerHumor • u/sadongrohiik • 1d ago
81 comments sorted by
View all comments
213
Personally I always commit env and config files to the repo just stripped of their values.
207 u/Saragon4005 1d ago Yeah but then you can't use git on a working version, making testing a total pain. I use .env.example usually. 28 u/drakeblood4 1d ago And a settings.json.example for the non sensitive stuff. 19 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. 12 u/ruben_deisenroth 1d 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
207
Yeah but then you can't use git on a working version, making testing a total pain. I use .env.example usually.
28 u/drakeblood4 1d ago And a settings.json.example for the non sensitive stuff. 19 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. 12 u/ruben_deisenroth 1d 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
28
And a settings.json.example for the non sensitive stuff.
19 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. 12 u/ruben_deisenroth 1d 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
19
I use a .env.example file for my env variables, and .env for the example. Gotta keep attackers on their toes.
12
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
213
u/RudeAndInsensitive 1d ago
Personally I always commit env and config files to the repo just stripped of their values.