安裝配置好git后,在as中使用git拉代碼的時(shí)候,一直報(bào):
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
但是嘗試了網(wǎng)上給出的各種方法击你,一直不能較好的解決斤彼,后來在https://blog.csdn.net/u011968063/article/details/70149191?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task這個(gè)文章中受到了啟發(fā),就在想是不是我的as上的git默認(rèn)路徑和我安裝的也不一樣呢蜡塌,然后就在終端輸入:which git 果不其然出現(xiàn)的git路徑和我as上配置的不一致,就把a(bǔ)s上的路徑換成git的路徑然后重新拉代碼就搞定了,這也是自己粗心導(dǎo)致的蠕搜,所以記錄下