Solved

Installing SourceTree for Lion

Posted on 2012-04-04
8
770 Views
Last Modified: 2012-04-09
I see I can download SourceTree from the AppleStore. Will this allow me to use Git without dealing with the command line? (I use Lion)

I want to use Git, but expect it wold take me a long time to learn it. How about installing SourceTree? I am trying to verify that I have Git installed, but I am pretty sure installing the latest Xcode with SDK's put Git on my machine as well.

Once I verify it's on there, can I simply install SourceTree?

Thanks.
0
Comment
Question by:newbieweb
  • 5
  • 3
8 Comments
 
LVL 39

Assisted Solution

by:Eoin OSullivan
Eoin OSullivan earned 500 total points
ID: 37810680
You can use SourceTree or SmartGit (http://www.syntevo.com/smartgit/index.html) as a client on OSX to manage GIT repositories.

Any of these Apps will allow you to browse and manage your files, checkout new repositories etc. without resorting to the command line.

OSX XCode includes GIT support as well.

To verify that GIT is installed on your OSX ... simply open a terminal window and type
git --version

Open in new window

0
 

Author Comment

by:newbieweb
ID: 37817747
-bash: git: command not found
0
 

Author Comment

by:newbieweb
ID: 37817755
I guess Git was not installed as I'd hoped, when I installed Xcode.

Am I right to conclude it's not installed?  Is there a place I can look to see if the files exist?

I used the most recent update of Xcode just 2 weeks ago...
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 39

Accepted Solution

by:
Eoin OSullivan earned 500 total points
ID: 37818560
If you installed the full Xcode you should have git installed but it may not be in your Path settings
Git does not come with osx lion base system but you can use it via a application like smart git or Xcode.

Look in  /usr/local/git

See instructions here on how to add that folder into your path tools so you can run git from the command line ...
http://stackoverflow.com/questions/6810059/git-on-mac-os-x-lion
0
 

Author Comment

by:newbieweb
ID: 37820289
I can not find "/user/"

Where should I be looking for that?

Silly me, I entered "grep git" and now terminal's hanging. I have not worked with UNIX for years, and worry it may be searching through billions and billions of files...
0
 

Author Closing Comment

by:newbieweb
ID: 37820426
Thanks.
0
 
LVL 39

Expert Comment

by:Eoin OSullivan
ID: 37822854
the folder is /USR/ not /user/

The best terminal command to find is
sudo find / -name "git" -print

There is a great Free App called EasyFind - http://www.devontechnologies.com/products/freeware.html
It is a nice GUI interface on the Unix find command .. better than Spotlight and great for locating system and hidden files.
0
 

Author Comment

by:newbieweb
ID: 37823057
thanks.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

This article shows how to convert a multi-page PDF file into multiple image files, with one image file created for each page of the PDF. It does this by utilizing an excellent, free software package called GraphicsMagick. The solution is amazingly s…
Read about how to approach blogging and about ways to do it right. Stand out from the crowd and let your knowledge be consumed by a large audience. This article aims to explain how your blog should look like,  the most important things to do while b…
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
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…

829 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