Closed unitof closed 4 years ago
Sqitch crew: it may be helpful if, like Twilio after also renaming, you added a Warning
to Homebrew to alert users what they need to do.
I…have no idea how you do that but I'm sure you'll figure it out!
@theory Found out how you do it! You'd have to (temporarily) recreate the master
branch with something like this: https://github.com/twilio/homebrew-brew/commit/01eab759195891101f11497b6af7fe074abba79b
Good call, thanks @unitof.
brew tap --repair
Recently running
brew update
started causing the following error:I figured out why and am posting the solution to help others:
Sqitch recently renamed the
master
branch tomain
(884225792358f42da8feb13d35980c697af07335). Homebrew relies on local Git origin settings for each tap so it's still looking for the old branch onorigin
.Just run:
and you'll be good to go!
Note that untapping does not uninstall or erase any Sqitch settings, just refreshes the Homebrew tap. I could only see this causing an issue if you've been doing local edits in
/usr/local/Homebrew/Library/Taps/sqitchers/homebrew-sqitch
, in which case you could manually edit.git/config
to reflect the neworigin:main
branch.