問題:Mac安裝git,使用時提示 cannot run git xcode-select: note: no developer tools were found, requesting install.
沒必要根據提示下載對應軟件,這個軟件很大,有好幾個G
解決方法:
去蘋果的開發者官網下載 Command_Line_Tools_for_Xcode_12.4.dmg 版本選擇最新即可
官網地址:https://developer.apple.com/download/more/
左側勾選:Developer Tools 和 mac OS
選擇最新版本軟件下載安裝即可
參考:
https://blog.csdn.net/qq_33833327/article/details/82585248
-----smile