Solved

Installing SourceTree for Lion

Posted on 2012-04-04
8
768 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

In this article, we will look at our content management system as a whole, to get an idea of how we will start to manage these content items.
In this blog, I will share you some basic tips for content marketing and to rank your website on Google.
In this first video of the three-part Xpdf series, we introduce and describe Xpdf, a library containing nine command line utilities that perform various functions on PDF files. We show where the library is located and how to download it, discuss its…
This video Micro Tutorial is the first 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 al…

831 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