Ohmyzsh: Cannot pull with rebase: You have unstaged changes.

Created on 15 Apr 2015  ·  3Comments  ·  Source: ohmyzsh/ohmyzsh

Hello,

I am unable to upgrade. This is the result:
Upgrading Oh My Zsh Cannot pull with rebase: You have unstaged changes. Please commit or stash them. There was an error updating. Try again later?

I initially installed using the basic installation process.

Most helpful comment

Hi,

This message means that you made custom changes to OMZ since the last upgrade. (You should be aware of that, since you (or someone using your computer) did it.)

In case you do not know of any changes you made and just want them gone, then this should do it:

cd $ZSH && git stash && cd -

The upgrade process is not designed to allow local changes. If you want to customize your install, you should use the $ZSH_CUSTOM directory (see wiki). If you want to keep local changes in OMZ core, you will have to maintain your own fork.

All 3 comments

Hi,

This message means that you made custom changes to OMZ since the last upgrade. (You should be aware of that, since you (or someone using your computer) did it.)

In case you do not know of any changes you made and just want them gone, then this should do it:

cd $ZSH && git stash && cd -

The upgrade process is not designed to allow local changes. If you want to customize your install, you should use the $ZSH_CUSTOM directory (see wiki). If you want to keep local changes in OMZ core, you will have to maintain your own fork.

Indeed, I understand. I will resort to $ZSH_CUSTOM Thanks very much for your very prompt help. Problem solved.

My pleasure. Please close this issue now that your problem is solved ;-)

Was this page helpful?
0 / 5 - 0 ratings