The best way I've found to organize dotfiles is to simply use a bare git repo.
> git init --bare $HOME/.dotfiles`
> alias dot="git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME"
> dot config --local status.showUntrackedFiles no
> git init --bare $HOME/.dotfiles`
> alias dot="git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME"
> dot config --local status.showUntrackedFiles no
Any gotchas I need to be aware of?
I've been using GNU Stow to manage mine and haven't yet run into issues but it did bring some fiction.
That may or may not be an issue but the version of git that comes with Ubuntu 16.04LTS for example doesn’t support it.