? Get Git Running Again on Mountain Lion

? Get Git Running Again on Mountain Lion

When I upgraded to Mountain Lion everything seemed fairly smooth sailing until I tried to clone a repository in git. As it turns out there are a couple steps you must take to get rid of the dreaded -bash: git: command not found when you enter git commands in terminal.
Step 1. Open up XCode (or if you don’t have it yet, download it from the Mac App Store here.

Step 2. Press ? , (The command key and comma) to open up XCode’s Preferences (pictured below). Under the downloads tab you’ll see Command Line Tools in the last row.

xcode command line tools

Step 3. Click the rounded Install button next to Command Line Tools and wait for the install to complete. (You’ll see a blue progress bar and then it will say Installed.)

Step 4. Type git into the command line and you’ll see your normal response again.

Share:

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *

Table of Contents

On Key

Related Posts

Cartoon guy contemplating the future

The Future of Venture Capital: Two Potential Directions

For years, I’ve kept private lists of phenomenons that got me thinking and made an impact. I’ve noticed lately these scribbled thoughts are becoming part of private conversations I have online, and so I am starting an experiment. I’m going to start sharing these thoughts in my blog. The result

Bartender at American Bar

World’s 50 Best Bars of 2019

Most people would say it’s near impossible to pick favorites, but every year 500 experts from around the globe choose the top bars in the world. Their choices become the industry-revered rating that is The World’s 50 Best Bars. The ranking, which actually publishes the 100 top bars internationally (instead