Dapatkan diskon up to 40% untuk pembelian di bulan Ramadhan.

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!

1 min read

Published on 29 Aug, 2021 (updated: 23 Sep, 2022)

Written by Irsyad A. Panjaitan

ArticlesUpdating 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. ........
bashCopy

Well done.

Irsyad A. Panjaitan

Let's start living like no one can help us in any event, so that when we are helped in certain times, it becomes a plus in itself.
0

Share on