A far more elegant solution - simpler, not needing maintaining .gitignore, and not making my home dir a git repo - can be found here: atlassian.com/git/tutorials/dotfiles
Only microscopic drawback is that I have a separate alias for git. I call my alias cfg, which also makes it very explicit that I'm doing config file stuff.
I've been using it for years without any hassles at all, and can't recommend it enough.
Jon is a self-taught programmer, started in video games but now does web development. He follows principles, argues for scientific software development, and does not like writing in the 3rd person.
Thank's @coreyja
, inspired me to start centralising my dotfiles.
And thanks for that link Rune, interesting alternative. Just to add that there's also a dev.to article based on the Atlassian approach from @skelebrina
here: dev.to/skelebrina/dotfile-manageme...
A far more elegant solution - simpler, not needing maintaining .gitignore, and not making my home dir a git repo - can be found here: atlassian.com/git/tutorials/dotfiles
Only microscopic drawback is that I have a separate alias for git. I call my alias cfg, which also makes it very explicit that I'm doing config file stuff.
I've been using it for years without any hassles at all, and can't recommend it enough.
Thank's @coreyja , inspired me to start centralising my dotfiles.
And thanks for that link Rune, interesting alternative. Just to add that there's also a dev.to article based on the Atlassian approach from @skelebrina here: dev.to/skelebrina/dotfile-manageme...
Glad it inspired ya @jonlauridsen !
Thanks for the other link too, will check it out!
Oh ya that is another good way to do it! I'll have to dig more into that sometime and compare the techniques. Thanks for sharing!
Indeed, it took me a while to figure what a bare repo is, so I explained it visually here: marcel.is/managing-dotfiles-with-g...