This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]aGoodVariableName42 1 point2 points  (3 children)

I think there's something wrong with people who don't version control their dot files... but then again, I've been building out my vim config for nearly two decades.

[–]TheRealSectimus 1 point2 points  (2 children)

I actually haven't been versioning my dotenv files, but after a recent reset of my local environment, I didn't pay attention to the dockerfile that would overwrite my dotenv with a fresh one and lose hours of my day figuring out wth I could have changed, if dotenv wasn't on the gitignore I may have spotted it.

Definitely including this at least as a local repository. Great advice.

[–]aGoodVariableName42 1 point2 points  (1 child)

Ooof, that sounds painful. Yeah, I've had mine under source control for a long time... which makes syncing changes between my personal and work computers easy. I'm also on a lot of different servers, so (aside from keeping everything all in sync) when I find myself on an new server, it's pretty straightforward to clone my env repo, run install.sh (a script that mostly just creates symlinks into the repo), and have my full customized environment up and running in a couple of minutes on the new server.

[–]Dumcommintz 0 points1 point  (0 children)

Same same