赞
踩
按 cmd+, 出来设置选项,选择Downloads标签,安装一下command line tools就可以解决。
-bash: git: command not found"
when you try executing the git
command in your Terminal.
Don’t worry, here’s how you can fix this very quickly in just two steps.
Launch the App Store then download "Xcode".
Install Xcode, run it and go to Xcode’s preference via shortcut key Command + ,
Go to the Downloads tab, look for "Command Line Tools", and click Install.
You may be required to enter an Apple Developer ID. If you don’t have an account, just register for one.
We kid. That’s it. Once the Command Line Tool is installed, quit and re-open Terminal, hit the git
command and see if it has been successfully reinstated.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。