Homebrew can’t link Git during the installation

后端 未结 2 1411
[愿得一人]
[愿得一人] 2020-12-19 13:32

I can’t seem to figure this out. Homebrew can’t link git during the installation. Here’s what Terminal spits out:

==> Downloading http://git-core.googleco         


        
相关标签:
2条回答
  • 2020-12-19 14:06

    It looks like there's a conflict with GitHub's app. I would remove it, you don't need it.

    A few people I spoke with about it said it was kind of buggy and that you're better off just using the terminal (which I agree with).

    edit: brew update brew upgrade followed by brew doctor might give more clues.

    0 讨论(0)
  • 2020-12-19 14:08

    The formula built, but is not symlinked into /usr/local

    Try overriding the links by:

    brew link --overwrite git
    

    Add --dry-run to see which files it affects.

    If this still fails, try fixing your Homebrew permissions:

    sudo chown -R $USER /usr/local/lib /usr/local/include /usr/local/bin /usr/local/Cellar
    
    0 讨论(0)
提交回复
热议问题