A couple of hours ago I was prompted if I wanted to update my version of oh-my-zsh and I was greeted with an error:

[Oh My Zsh] Would you like to check for updates? Type Y to update oh-my-zsh: Y 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?

What? Was my immediate reaction! To cut my story short apparently I edited something in my .oh-my-zsh directory. Rather than going through what I changed and revert those changes, here’s a quick fix:

Step One: – Close and quit your terminal.

Step Two: – Open your terminal again and type:


Note: This should change your directory to the zsh directory.

– Terminal should read:

~/.oh-my-zsh master

Step Three: Type:

git status

Note: It should display a list of files changed.

Step Four: Stage those files with:

git add .

Final Step: Commit those changes with:

git commit -m 'insert your comment'

Close, quit and reopen your terminal, and type:


You should be able to upgrade now.