mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +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
|
||||
|
||||
# Update upstream remote to ohmyzsh org
|
||||
git remote -v | while read remote url extra; do
|
||||
case "$url" in
|
||||
https://github.com/snakewarhead/oh-my-zsh(|.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 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 upstream "https://github.com/ohmyzsh/ohmyzsh.git"
|
||||
break ;;
|
||||
esac
|
||||
done
|
||||
#git remote -v | while read remote url extra; do
|
||||
#case "$url" in
|
||||
#https://github.com/snakewarhead/oh-my-zsh(|.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 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 upstream "https://github.com/ohmyzsh/ohmyzsh.git"
|
||||
#break ;;
|
||||
#esac
|
||||
#done
|
||||
|
||||
# Set git-config values known to fix git errors
|
||||
# Line endings (#4069)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue