ohmybash / oh-my-bash

A delightful community-driven framework for managing your bash configuration, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
https://ohmybash.github.io
MIT License
5.53k stars 624 forks source link

cannot update .ohmybash #525

Closed tokisuno closed 4 months ago

tokisuno commented 4 months ago

image Any advice?

akinomyoga commented 4 months ago

The directory ~/.oh-my-bash is a git repository, and the updating is performed by git pull. A conflict can happen if you have any changes in ~/.oh-my-bash. This time, you seem to have uncommitted changes. As the red text explains, you need to commit, stash, or discard the uncommitted changes.

You can go into the directory by cd ~/.oh-my-bash and run git status to see the current status. To check the changes, run git diff. To check the staged changes, run git diff --cached.