在 MacOs bash 上安装 git subrepo 时出现问题 5
Problem installing git subrepo on MacOs bash 5
我试图在安装了 bash 5.0.18 的 MacO 上安装 git subrepo。当我获取 .bashrc 时,我收到错误消息:
The git-subrepo command requires that 'Bash 4+' is installed. It
doesn't need to be your shell, but it must be in your PATH. You appear
to be on macOS. Try: 'brew install bash'. This will not change your
user shell, it just installs 'Bash 5.x'.
git subrepo 是否与 bash 5 不兼容,或者有什么解决方案可以让它工作吗?
这应该是一个 PATH
问题,如 ingydotnet/git-subrepo
issue 463
所示
I realized there was a part of my path not being specified which caused this issue.
显然,我可以使用 brew 轻松安装它:
brew install git-subrepo
我试图在安装了 bash 5.0.18 的 MacO 上安装 git subrepo。当我获取 .bashrc 时,我收到错误消息:
The git-subrepo command requires that 'Bash 4+' is installed. It doesn't need to be your shell, but it must be in your PATH. You appear to be on macOS. Try: 'brew install bash'. This will not change your user shell, it just installs 'Bash 5.x'.
git subrepo 是否与 bash 5 不兼容,或者有什么解决方案可以让它工作吗?
这应该是一个 PATH
问题,如 ingydotnet/git-subrepo
issue 463
I realized there was a part of my path not being specified which caused this issue.
显然,我可以使用 brew 轻松安装它:
brew install git-subrepo