1: https://robots.thoughtbot.com/rcm-for-rc-files-in-dotfiles-r...
Ask HN: What do you use to manage dotfiles?
21–30 of 97 posts
Re: Ask HN: What do you use to manage dotfiles?
#22Re: Ask HN: What do you use to manage dotfiles?
#23Re: Ask HN: What do you use to manage dotfiles?
#24Re: Ask HN: What do you use to manage dotfiles?
#25Re: Ask HN: What do you use to manage dotfiles?
#26I use: git init --bare $HOME/.myconf alias config='/usr/bin/git --git-dir=$HOME/.myconf/ --work-tree=$HOME' config config status.showUntrackedFiles no where my ~/.myconf directory is a git bare repository. Then any file within the home folder can be versioned with normal commands like: config status config add .vimrc config commit -m "Add vimrc" config add .config/redshift.conf config commit -m "Add redshift config"…
Re: Ask HN: What do you use to manage dotfiles?
#27I use: git init --bare $HOME/.myconf alias config='/usr/bin/git --git-dir=$HOME/.myconf/ --work-tree=$HOME' config config status.showUntrackedFiles no where my ~/.myconf directory is a git bare repository. Then any file within the home folder can be versioned with normal commands like: config status config add .vimrc config commit -m "Add vimrc" config add .config/redshift.conf config commit -m "Add redshift config"…
git clone --separate-git-dir=~/.myconf /path/to/repo ~
This is the best solution I've seen so far, and I may adopt it next time I get the itch to reconfigure my environment.Re: Ask HN: What do you use to manage dotfiles?
#28It's basically a dotfile manager. Symbolically links your stuff and runs scripts.
Re: Ask HN: What do you use to manage dotfiles?
#29Re: Ask HN: What do you use to manage dotfiles?
#30https://github.com/riquito/configs
The usage is
git clone git@github.com:username/configs.git ~/.myconfigs
cd ~/.myconfigs
./reinstall.sh
Whenever I update the repository, maybe adding files, I run this in the other computers: cd ~/.myconfigs
git pull --ff-only
./reinstall.sh
which simply refresh the symlinks (I should remove stale symlinks now that I think about it, for removed configurations - never happened yet)