mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
add remote upstream
This commit is contained in:
parent
924537d7b6
commit
2a8b3aa2d4
1 changed files with 3 additions and 3 deletions
|
|
@ -159,14 +159,14 @@ fi
|
||||||
git remote -v | while read remote url extra; do
|
git remote -v | while read remote url extra; do
|
||||||
case "$url" in
|
case "$url" in
|
||||||
https://github.com/snakewarhead/oh-my-zsh(|.git))
|
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 ;;
|
break ;;
|
||||||
git@github.com:snakewarhead/oh-my-zsh(|.git))
|
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 ;;
|
break ;;
|
||||||
# Update out-of-date "unauthenticated git protocol on port 9418" to https
|
# Update out-of-date "unauthenticated git protocol on port 9418" to https
|
||||||
git://github.com/snakewarhead/oh-my-zsh(|.git))
|
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 ;;
|
break ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue