Based on this article's management technique.
git clone --bare [email protected]:joshuablake/dotfiles.git $HOME/dotfiles
.alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dotfiles checkout
. This may error if you're overwriting existing files. In this case,mv
those files to a backup and decide if you want to keep them.- Run
dotfiles config --local status.showUntrackedFiles no
to ignore most files in your home directory.