1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 13:28:00 +08:00

git-pull add --rebase option

This commit is contained in:
UncleBill 2013-06-25 12:08:02 +08:00
parent 78dba754d1
commit 87a1d8a02d

View File

@ -1,6 +1,6 @@
printf '\033[0;34m%s\033[0m\n' "Upgrading Oh My Zsh"
cd "$ZSH"
if git pull origin master
if git pull --rebase origin master
then
printf '\033[0;32m%s\033[0m\n' ' __ __ '
printf '\033[0;32m%s\033[0m\n' ' ____ / /_ ____ ___ __ __ ____ _____/ /_ '