Break out pull --rebase into fetch; rebase --autostash
...this should make auto-updating a little less of a perpetual fail for those of us with a tendency to tinker. Not that anyone who uses zsh and oh-my-zsh would have such a tendency :)
This commit is contained in:
parent
f8f01262ab
commit
1cda742727
@ -1,6 +1,6 @@
|
||||
printf '\033[0;34m%s\033[0m\n' "Upgrading Oh My Zsh"
|
||||
cd "$ZSH"
|
||||
if git pull --rebase --stat origin master
|
||||
if git fetch origin && git rebase --autostash --stat origin/master
|
||||
then
|
||||
printf '\033[0;32m%s\033[0m\n' ' __ __ '
|
||||
printf '\033[0;32m%s\033[0m\n' ' ____ / /_ ____ ___ __ __ ____ _____/ /_ '
|
||||
|
Loading…
Reference in New Issue
Block a user