Skip to content

fatal: It seems that there is already a rebase-merge directory #3244

Discussion options

You must be logged in to vote

I managed to solve this issue by tracking the sub-directory using the command:

find /usr/local/Homebrew -name "rebase-merge"

It returns the following:

/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/.git/rebase-merge

There are a few files under the sub-directory which are created on 2 May. This seems to correspond to the time when I started encountering the issue last week. I deleted all the files, and also the sub-directory.

Now "brew update" and "brew upgrade" are working fine now.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@laiyewfai
Comment options

Comment options

You must be logged in to vote
1 reply
@laiyewfai
Comment options

Comment options

You must be logged in to vote
1 reply
@noahhhi
Comment options

Answer selected by laiyewfai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants