Solved

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

Posted on 2012-04-04
5
563 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Full Screen problem when auto scale IFRAME 2 124
Project Operations Manual 2 89
Project roadmap 4 51
Getting Variable not defined error in Python 1 45
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.
In this post we will learn different types of Android Layout and some basics of an Android App.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

730 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