Install on new machine
cd ~/ git clone --bare [email protected]:kevzettler/dotfiles.git $HOME/.dotfiles git --git-dir=$HOME/.dotfiles --work-tree=$HOME checkout
Background
This uses some bare repo git trickery see: https://github.com/kevzettler/dotfiles/blob/master/.bashrc#L1-L17
original idea from: https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/