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:
parent
78dba754d1
commit
87a1d8a02d
|
@ -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' ' ____ / /_ ____ ___ __ __ ____ _____/ /_ '
|
||||
|
|
Loading…
Reference in New Issue
Block a user