brew install Error: Command failed with exit 129: git
brew install Error: Command failed with exit 129: git
每当我尝试 运行 brew 安装包时,我都会收到此错误:
Unknown option: -C
usage: git [--version] [--help] [-c name=value]
[--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
<command> [<args>]
Error: Command failed with exit 129: git
我正在尝试使用此命令进行安装:
brew install golang-migrate
P.S: 我已经删除并安装了 homebrew
我找到了解决方案,因为自制程序将二进制文件放在 /opt/homebrew/bin
将此添加到 ~/.bash_profile
将使自制软件 git
优先于苹果的 git
export PATH=/opt/homebrew/bin:$PATH
每当我尝试 运行 brew 安装包时,我都会收到此错误:
Unknown option: -C
usage: git [--version] [--help] [-c name=value]
[--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
<command> [<args>]
Error: Command failed with exit 129: git
我正在尝试使用此命令进行安装:
brew install golang-migrate
P.S: 我已经删除并安装了 homebrew
我找到了解决方案,因为自制程序将二进制文件放在 /opt/homebrew/bin
将此添加到 ~/.bash_profile
将使自制软件 git
优先于苹果的 git
export PATH=/opt/homebrew/bin:$PATH