Je cours:
brew update
Et je reçois une erreur:
error: Your local changes to the following files would be overwritten by merge:
samtools.rb
Please, commit your changes or stash them before you can merge.
Aborting
Il s'avère que c'est une erreur bien connue. En fait, cela est mentionné sur le wiki Homebrew :
After running brew update, you receive a git error warning about untracked files or local changes that would be overwritten by a checkout or merge, followed by a list of files inside your Homebrew installation.
This is caused by an old bug in in the update code that has long since been fixed. However, the nature of the bug requires that you do the following:
cd $(brew --repository)
git reset --hard FETCH_HEAD
If brew doctor still complains about uncommitted modifications, also run this command:
cd $(brew --repository)/Library
git clean -fd
J'ai suivi ces instructions et je vois toujours la même erreur. Qu'est-ce qui ne va pas?