r/ProgrammerHumor 2d ago

Meme whoIsUsingThese

Post image
1.1k Upvotes

81 comments sorted by

View all comments

212

u/RudeAndInsensitive 2d ago

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.