【发布时间】:2020-09-16 12:30:01
【问题描述】:
我试图在安装了 bash 5.0.18 的 MacO 上安装 git subrepo。当我获取 .bashrc 时,我收到错误消息:
git-subrepo 命令要求安装“Bash 4+”。它 不需要是你的 shell,但它必须在你的 PATH 中。你出现 在 macOS 上。尝试:'brew install bash'。这不会改变你的 用户外壳,它只是安装“Bash 5.x”。
git subrepo 是否与 bash 5 不兼容,或者有什么解决方案可以让它工作?
【问题讨论】:
标签: bash git macos macos-high-sierra