如果我直接以
运行git/Applications/Xcode-beta.app/Contents/Developer/usr/bin/git
它工作正常。 但只是git导致错误:
Dmitrys-iMac:bin dima$ git
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.
Also Appcode git required developers tools to be installed for git works.
我无法安装工具,因为它们需要6gb的磁盘空间。 而且我已经安装了Xcode。 有什么想法,我该怎么办?