Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Homebrew] 重置软件源 #51

Open
yangruihan opened this issue Sep 16, 2021 · 0 comments
Open

[Homebrew] 重置软件源 #51

yangruihan opened this issue Sep 16, 2021 · 0 comments

Comments

@yangruihan
Copy link
Owner

[Homebrew] 重置软件源

  • brew.git

    cd "$(brew --repo)"
    git remote set-url origin https://github.com/Homebrew/brew.git
  • homebrew core

    cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
    git remote set-url origin https://github.com/Homebrew/homebrew-core.git
  • homebrew cask

    cd "$(brew --repo)"/Library/Taps/homebrew/homebrew-cask
    git remote set-url origin https://github.com/Homebrew/homebrew-cask
  • homebrew bottles

    注释掉 bash 启动文件里的 export 即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant