Run the automatic installation script:
curl -Ls https://gist.github.com/dhnza/6b384f52ce32342761cc00f9d26311fa/raw/dotfiles-install.sh | /bin/bashClone dotfiles into a bare git repository. The git tracking information will be stored in ~/.dotfiles.
git clone --bare git@github.com:dhnza/dotfiles.git ~/.dotfilesFor convenience, create a dotfiles alias for managing the repositroy.
alias dotfiles='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'Disable showing files not tracked by the git repositry,
dotfiles config --local status.showUntrackedFiles noBackup your existing configuration into ~/.dotfiles-backup.
mkdir -p ~/.dotfiles-backup && dotfiles checkout 2>&1 | egrep '\s+\.' | xargs -i mv {} ~/.dotfiles-backupCheckout your dotfiles to your $HOME:
dotfiles checkout