• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 588
  • 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

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

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