Skip to content

Commit 43c205e

Browse files
authored
README.md file update to include the "git-undo" command conflict with git-extra. (#77)
1 parent 019646b commit 43c205e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,15 @@ If you're using [oh-my-zsh](github.com/robbyrussell/oh-my-zsh):
192192

193193
`source ~/.zshrc`
194194

195+
### Note on `git-undo` Command Conflict
196+
197+
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:
198+
199+
- **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:
200+
201+
`brew link --overwrite ugit`
202+
203+
- **Manual Installation**: Ensure that the `git-undo` command from the desired package is prioritized in your system's PATH.
195204

196205

197206
## Please read ⚠️

0 commit comments

Comments
 (0)