README.md file update to include the "git-undo" command conflict with git-extra. (#77)

This commit is contained in:
luxxmr 2025-03-18 01:41:17 -07:00 committed by GitHub
parent 019646b1ed
commit 43c205e315
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -192,6 +192,15 @@ If you're using [oh-my-zsh](github.com/robbyrussell/oh-my-zsh):
`source ~/.zshrc`
### Note on `git-undo` Command Conflict
If you have both `ugit` and `git-extras` (https://github.com/tj/git-extras) installed, be aware that both provide a `git-undo` command. This can lead to conflicts, as only one version of the command will be accessible at a time. To resolve this:
- **Using Homebrew**: Homebrew will notify you of the conflict during installation. You can choose to unlink the conflicting formula or use the --overwrite flag to force the link as follows:
`brew link --overwrite ugit`
- **Manual Installation**: Ensure that the `git-undo` command from the desired package is prioritized in your system's PATH.
## Please read ⚠️