git clone --bare [email protected]:randy3k/dotfiles.git $HOME/.dotfiles
alias dot='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dot config --local status.showUntrackedFiles no
dot config --local pull.rebase true
dot reset --hard
rm ~/README.md
dot update-index --skip-worktree README.md
Credit: inspired by https://www.atlassian.com/git/tutorials/dotfiles