Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My $HOME is a git repo for my dotfiles, with a .gitignore containing just "*". Simple, zero abstractions, no need for additional management.


Further, 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


I'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.


Same here. New machine? Add a remote, checkout master.


funny enough, this technique is also described here : https://drewdevault.com/2019/12/30/dotfiles.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: