Solved

Installing SourceTree for Lion

Posted on 2012-04-04
8
771 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 40

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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 40

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 40

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

We could spend the next millennium discussing the differences of the Mac and Windows platforms. The next century will continue to have fanatics on both side of the equation and neither side will win the war. However, that’s not why we are here. W…
Read about how to choose the best possible content marketing agency to suit your needs. Content marketing has become an integral part of running a successful tech business, so it is wise to be informed.
This video is the first in a two-part series that discusses PaperPort's "Send To Bar" feature . This first video tutorial explains the purpose of the Send To Bar, how to use it, and how to hide unwanted items that are automatically created on it whe…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

679 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