文章

Brew Error Couldn't Find Remote Ref Refs Heads Master

brew 报错

1
2
3
4
5
6
7
fatal: couldn't find remote ref refs/heads/master
Error: Fetching /opt/homebrew/Library/Taps/osx-cross/homebrew-avr failed!
Error: Some taps failed to update!
The following taps can not read their remote branches:
  osx-cross/avr
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`

解决: run

1
brew tap --repair
本文由作者按照 CC BY 4.0 进行授权
PixPark_WeChat