From 4a988c46609c4c2d32240092899ae0aae45b11a6 Mon Sep 17 00:00:00 2001 From: thinszx <1217641779@qq.com> Date: Thu, 17 Mar 2022 19:54:47 +0800 Subject: [PATCH] fix(updater): change remote using deprecated `git:` protocol (#10779) --- tools/upgrade.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/upgrade.sh b/tools/upgrade.sh index b6cb10b5a..afc6a98dd 100755 --- a/tools/upgrade.sh +++ b/tools/upgrade.sh @@ -164,6 +164,10 @@ git remote -v | while read remote url extra; do git@github.com:robbyrussell/oh-my-zsh(|.git)) git remote set-url "$remote" "git@github.com:ohmyzsh/ohmyzsh.git" 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 done