set upgrade to look at upstream if it exists
This commit is contained in:
parent
62b0abdb6e
commit
af912fc5d6
@ -22,7 +22,7 @@ fi
|
||||
|
||||
printf "${BLUE}%s${NORMAL}\n" "Updating Oh My Zsh"
|
||||
cd "$ZSH"
|
||||
if git pull --rebase --stat origin master
|
||||
if [ -d .git/refs/upsteam ] git pull --rebase --stat upstream master || git pull --rebase --stat origin master
|
||||
then
|
||||
printf '%s' "$GREEN"
|
||||
printf '%s\n' ' __ __ '
|
||||
|
Loading…
Reference in New Issue
Block a user