git clone --bare https://github.com/inno/dotfiles.git $HOME/.dotfiles
alias dotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"'
dotfiles checkout
dotfiles config --local status.showUntrackedFiles no
Add the following line to the shell config of your choice
alias dotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"'
dotfiles remote set-url origin [email protected]:inno/dotfiles.git
Adapted from https://wiki.archlinux.org/title/Dotfiles