• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 596
  • Last Modified:

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

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
newbieweb
Asked:
newbieweb
  • 3
  • 2
2 Solutions
 
Ivano ViolaSystem AdministratorCommented:
open a terminal and type: git --version
You should see something like this Version may vary: git version 1.7.4.4
0
 
newbiewebSr. Software EngineerAuthor Commented:
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
 
Ivano ViolaSystem AdministratorCommented:
It should be installed. Follow the instructions here:
http://yuilibrary.com/yui/docs/tutorials/git/

IV
0
 
newbiewebSr. Software EngineerAuthor Commented:
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
 
newbiewebSr. Software EngineerAuthor Commented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now