diff --git a/tools/upgrade.sh b/tools/upgrade.sh index 7fe346b3c..6fc33b12b 100755 --- a/tools/upgrade.sh +++ b/tools/upgrade.sh @@ -159,14 +159,14 @@ fi git remote -v | while read remote url extra; do case "$url" in https://github.com/snakewarhead/oh-my-zsh(|.git)) - git remote set-url "$remote" "https://github.com/ohmyzsh/ohmyzsh.git" + git remote set-url upstream "https://github.com/ohmyzsh/ohmyzsh.git" break ;; git@github.com:snakewarhead/oh-my-zsh(|.git)) - git remote set-url "$remote" "git@github.com:ohmyzsh/ohmyzsh.git" + git remote set-url upstream "git@github.com:ohmyzsh/ohmyzsh.git" break ;; # Update out-of-date "unauthenticated git protocol on port 9418" to https git://github.com/snakewarhead/oh-my-zsh(|.git)) - git remote set-url "$remote" "https://github.com/ohmyzsh/ohmyzsh.git" + git remote set-url upstream "https://github.com/ohmyzsh/ohmyzsh.git" break ;; esac done