fix(updater): change remote using deprecated git: protocol (#10779)

This commit is contained in:
thinszx 2022-03-17 19:54:47 +08:00 committed by GitHub
parent 0f2715bb45
commit 4a988c4660
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -164,6 +164,10 @@ git remote -v | while read remote url extra; do
git@github.com:robbyrussell/oh-my-zsh(|.git)) git@github.com:robbyrussell/oh-my-zsh(|.git))
git remote set-url "$remote" "git@github.com:ohmyzsh/ohmyzsh.git" git remote set-url "$remote" "git@github.com:ohmyzsh/ohmyzsh.git"
break ;; break ;;
# Update out-of-date "unauthenticated git protocol on port 9418" to https
git://github.com/robbyrussell/oh-my-zsh(|.git))
git remote set-url "$remote" "https://github.com/ohmyzsh/ohmyzsh.git"
break ;;
esac esac
done done