4 ms·
My $HOME is a git repo for my dotfiles, with a .gitignore containing just "*". Simple, zero abstractions, no need for additional management.
by gbrown_ 7y ago
My $HOME is a git repo for my dotfiles, with a .gitignore containing just "*". Simple, zero abstractions, no need for additional management.
- bbmario 7y agoSame here. New machine? Add a remote, checkout master.
- josephscott 7y agoI've recently started using yadm, which is a light abstraction on top of git. One big reason - "Alternate Files" support - which makes it easy to have MacOS and Linux binaries for the same tools, along with the rest of my shell setup, in one Git repo.
- deepaksurti 7y agoFurther, you can create a bare git repo and make $HOME it's working tree. More details here [1]. [1] https://news.ycombinator.com/item?id=11071754 https://news.ycombinator.com/item?id=11071754
- dnpp123 7y agofunny enough, this technique is also described here : https://drewdevault.com/2019/12/30/dotfiles.html https://drewdevault.com/2019/12/30/dotfiles.html