I recently switched from using using plain Git to yadm
for managing my dotfiles.
It is similar to using Git, just type yadm
instead.
To get started, just yadm init
, yadm add/commit/push
, etc.
To populate a new computer with your dotfiles: yadm clone <your dotfiles repo>
.
What is the difference between yadm
and git
? It seems the basic difference is yadm
gives you an easy way to overlay a repo in an existing directory.
This has a few advantages over my previous method:
- much easier to add dotfiles to an existing machine
- automatically ignores unknown files and does not give you fussy error messages when trying to add new files, etc.
Overall, seems like a nice improvement!