MacBook Pro m1 升級(jí)系統(tǒng)到13版本后,系統(tǒng)中原有的git突然就不能用了,,,輸入git -v 既然打印不到版本號(hào)???使用which git 是能打印到配置路徑的,,,
解決方案:文章來源:http://www.zghlxwxcb.cn/news/detail-659904.html
xcode-select --install
stack overfolw 帖子地址
然后會(huì)跳出一個(gè)彈窗讓你安裝xcode-select
點(diǎn)擊安裝,自動(dòng)安裝完成,控制臺(tái)再輸入git -v就能打印版本好了文章來源地址http://www.zghlxwxcb.cn/news/detail-659904.html
到了這里,關(guān)于Unable to initialize Git; AggregateError(2) Error: Unable to find git Error: Unable to find git的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!