#! /bin/sh git remote set-url origin git@git.desu.ltd:salt/dotfiles echo "Resetting origin back to SSH" echo "Ensure you've added your ecdsa key to Gitea." echo "If you need those:" echo " https://git.desu.ltd/user/settings/keys" for file in ~/.ssh/*.pub; do if ! [ -e "$file" ]; then echo "No pubkeys found -- gen one!" fi echo "Public key $file:" cat "$file" done