gitリポジトリは、クリーンな状態なので、Homebrewを更新で正常に実行できるはずです。
brew update、brew upgradeで更新させました。
$ brew update
fatal: couldn't find remote ref refs/heads/master
To restore the stashed changes to /usr/local/Homebrew, run:
cd /usr/local/Homebrew && git stash pop
Error: Fetching /usr/local/Homebrew/Library/Taps/mono0926/homebrew-license-plist failed!
Installing from the API is now the default behaviour!
You can save space and time by running:
brew untap homebrew/core
Error: Some taps failed to update!
The following taps can not read their remote branches:
mono0926/license-plist
This is happening because the remote branch was renamed or deleted.
Reset taps to point to the correct remote branches by running `brew tap --repair`
$ brew upgrade
==> Upgrading 45 outdated packages:
tree 1.8.0 -> 2.1.1_1
…
==> Upgrading readline
8.2.1 -> 8.2.7
…
==> Pouring carthage--0.39.1.ventura.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/carthage
Target /usr/local/bin/carthage
already exists. You may want to remove it:
rm '/usr/local/bin/carthage'
To force the link and overwrite all conflicting files:
brew link --overwrite carthage
To list all files that would be deleted:
brew link --overwrite --dry-run carthage
Possible conflicting files are:
/usr/local/bin/carthage
…
==> carthage
zsh completions have been installed to:
/usr/local/share/zsh/site-functions
==> subversion
svntools have been installed to:
/usr/local/opt/subversion/libexec
The perl bindings are located in various subdirectories of:
/usr/local/opt/subversion/lib/perl5
警告は出てましたが、Homebrewの更新自体は、成功しました。
失敗した場合の参考例として、権限系がおかしな場合、brew upgradeでError: Failure...が出力されました。
$ brew update
f