Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mikezang

macrumors 6502a
Original poster
May 22, 2010
939
41
Tokyo, Japan
I just upgraded to Lion 10.7.3 at the moment, I found I can't run git command to commit my source, does anyone help me?

Code:
git
-bash: git: command not found
 

Attachments

  • Screen Shot 2012-03-08 at 22.52.25.jpg
    Screen Shot 2012-03-08 at 22.52.25.jpg
    131.9 KB · Views: 206
No idea why you're being prompted to install lion, but the reason git is no longer there is that Lion no longer includes it in the distribution
 
Beginning with Xcode 4.3, the command line tools are no longer installed by default. In Xcode, go to Preference->Downloads and install the command line tools.
 
Beginning with Xcode 4.3, the command line tools are no longer installed by default. In Xcode, go to Preference->Downloads and install the command line tools.
Thanks, but when I tried to install documentation, I got message as below

Code:
Installation path, /Users/mikezang/Library/Developer/Shared/Documentation/DocSets/com.apple.adc.documentation.AppleiOS5_1.iOSLibrary.docset, has the wrong ownership or is not writable.

The ownership as below, what can I do?
Code:
drwxr-xr-x  15 root  staff  510  8 31  2011 DocSets
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.