Installing SourceTree for Lion

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.
newbiewebSr. Software EngineerAsked:
Who is Participating?
 
Eoin OSullivanConsultantCommented:
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
 
Eoin OSullivanConsultantCommented:
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
 
newbiewebSr. Software EngineerAuthor Commented:
-bash: git: command not found
0
Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

 
newbiewebSr. Software EngineerAuthor Commented:
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
 
newbiewebSr. Software EngineerAuthor Commented:
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
 
newbiewebSr. Software EngineerAuthor Commented:
Thanks.
0
 
Eoin OSullivanConsultantCommented:
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
 
newbiewebSr. Software EngineerAuthor Commented:
thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.