Dotfiles repo as described in this article.
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
echo ".dotfiles" >> .gitignore
git clone --bare https://github.com/esize/dotfiles.git $HOME/.dotfiles
config checkout
If config checkout
returns an error, run the following:
mkdir -p .config-backup && \
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
xargs -I{} mv {} .config-backup/{}
config config --local status.showUntrackedFiles no