mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
disable set upstream
This commit is contained in:
parent
2a8b3aa2d4
commit
f53d7aed6d
1 changed files with 14 additions and 14 deletions
|
|
@ -156,20 +156,20 @@ if is_tty; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Update upstream remote to ohmyzsh org
|
# Update upstream remote to ohmyzsh org
|
||||||
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 upstream "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 upstream "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 upstream "https://github.com/ohmyzsh/ohmyzsh.git"
|
#git remote set-url upstream "https://github.com/ohmyzsh/ohmyzsh.git"
|
||||||
break ;;
|
#break ;;
|
||||||
esac
|
#esac
|
||||||
done
|
#done
|
||||||
|
|
||||||
# Set git-config values known to fix git errors
|
# Set git-config values known to fix git errors
|
||||||
# Line endings (#4069)
|
# Line endings (#4069)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue