(-> % read write unlearn)

My writings on this area are my own delusion

brew update エラー: heroku/brew

Homebrew の update でエラー

$ brew update
fatal: couldn't find remote ref refs/heads/master
Error: Fetching /opt/homebrew/Library/Taps/heroku/homebrew-brew failed!
Error: Some taps failed to update!
The following taps can not read their remote branches:
  heroku/brew
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`

heroku/brew でリモートブランチが追えなくなった、みたい。言われるがまま、 brew tap --repair してみる。

$ brew tap --repair
remote: Enumerating objects: 24, done.
remote: Counting objects: 100% (24/24), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 24 (delta 7), reused 22 (delta 7), pack-reused 0
Unpacking objects: 100% (24/24), 12.34 KiB | 382.00 KiB/s, done.
From https://github.com/heroku/homebrew-brew
 * [new branch]      main       -> origin/main
==> heroku/brew: changed default branch name from master to main!

heroku の Homebrew の定義を書いているリポジトリのデフォルトブランチが master から main に変わったらしい。

https://github.com/heroku/homebrew-brew

見に行ってみるとそれらしい Issue がある。

https://github.com/heroku/homebrew-brew/issues/35

11/05 の起票だからけっこう前だ。