- Clone repo:
git clone --bare git@github.com:xavicampa/dotfiles.git $HOME/.dotfiles
- Add alias to
.zshrc
:
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
- Check out:
dotfiles checkout
- Hide untracked files:
dotfiles config --local status.showUntrackedFiles no