Open iandol opened 1 week ago
This fixes the error (for homebrew core):
Seneca » …/homebrew-core on master via 💎 v3.3.3
ε ➪ git remote set-url origin https://github.com/Homebrew/homebrew-core.git
Thanks. We will take a look at it.
x brew unset
, we used the brew tap command to restore the remote URL of the repository, but it didn't actually work.Starting from version 4.10.0, we will use the git -C "$(brew --repo [repo_name])" remote set-url origin [new_url]
method to restore the remote URL of the repository in order to fix this issue.
We discovered a cleaner method of setting download sources using Homebrew's environment files, so we'll be adjusting the implementation of x brew mirror set/unset
in the new version.
Describe the bug
I used
x brew mirror set tuna
which works well in China but travelling back to europe it doesn't work well. So I triedx brew unset
, butbrew update
fails:The problem is the git repo is still set to tuna:
System (please complete the following information):
Expected behavior
unset
reverts brew back to the standard repo.