Go back
10 months ago

Updating Oh My Zsh: There was an error. Uh!

If you plan to upgrade oh my zsh, and get an error ? You need to do step below!

  • Open up Terminal

  • Type in ‘ cd ~/.oh-my-zsh’

  • This should change your directory to the zsh directory.

  • Terminal should read: “ .oh-my-zsh git:(master) “. If it does, go to step 2.

  • Type in “git status” to see that your status is ahead of master.

  • If you’re not concerned about the file status changes, you can “stash” those changes by doing step 5.

  • Type in “git stash” to save the progress in the git and move the head back to master.

  • Then type upgrade_oh_my_zsh

Then you will see ilke this.

Updating Oh My Zsh
remote: Enumerating objects: 21634, done.
remote: Counting objects: 100% (21633/21633), done.
remote: Compressing objects: 100% (8536/8536), done.

Well done.