Solved

How do I check if Git is installed on my Lion?

Posted on 2012-04-04
5
562 Views
Last Modified: 2013-11-13
I installed Xcode and think it also installed Git. I have decide to use Git and first need to check if it's there before trying to install it.

Could someone tell me? And how to check the version installed?

Thanks.
0
Comment
Question by:newbieweb
  • 3
  • 2
5 Comments
 
LVL 21

Assisted Solution

by:ivanoviola
ivanoviola earned 500 total points
ID: 37809130
open a terminal and type: git --version
You should see something like this Version may vary: git version 1.7.4.4
0
 

Author Comment

by:newbieweb
ID: 37809159
I get this:

Last login: Wed Apr  4 21:08:33 on ttys000
new-host:~ newbieweb$ git --version
-bash: git: command not found
new-host:~ newbieweb$
0
 
LVL 21

Accepted Solution

by:
ivanoviola earned 500 total points
ID: 37809172
It should be installed. Follow the instructions here:
http://yuilibrary.com/yui/docs/tutorials/git/

IV
0
 

Author Closing Comment

by:newbieweb
ID: 37809180
Thanks. But I am thinking Git is too complicated to learn. I see the benefits, but I have worked with SubVersion and actually like it. I wanted to be up and running with source code management in a few hours. Git looks like it would take me much longer.
0
 

Author Comment

by:newbieweb
ID: 37809224
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A short article about problems I had with the new location API and permissions in Marshmallow
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This video Micro Tutorial is the second in a two-part series that shows how to create and use custom scanning profiles in Nuance's PaperPort 14.5 (http://www.experts-exchange.com/articles/17490/). But the ability to create custom scanning profiles a…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question