簡體   English   中英

在 MacOs bash 5 上安裝 git subrepo 時出現問題

[英]Problem installing git subrepo on MacOs bash 5

我試圖在安裝了 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 不兼容,或者是否有任何解決方案可以使其工作?

https://github.com/ingydotnet/git-subrepo

顯然,我可以輕松地使用 brew 安裝它:

brew install git-subrepo

它應該是PATH問題,如ingydotnet/git-subrepo問題 463 所示

我意識到我的路徑的一部分沒有被指定導致了這個問題。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM