git clone --bare https://gitea.olympuslab.net/afonso/dotfiles /home/afonso/dotfiles alias config='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME' mkdir -p .config-backup && \ config checkout 2>&1 | grep -E "\s+\." | awk {'print $1'} | \ xargs -I{} mv {} .config-backup/{} config checkout config remote set-url origin ssh://git@gitea.olympuslab.net:522/afonso/dotfiles