I'm using a homebrew installed git version that is at /usr/local/bin/git but I can't select this in the browse window for setting the system git.
How can I select this as my git option?
Ok, it was related to hidden files. By following the instructions here: http://www.brooksandrus.com/blog/2007/03/23/mac-os-x-show-hide-hidden-files-in-finder/
I was able to get SourceTree to see the /usr folder and select the correct version of git.
Ah, it's because when I click 'Use System Git' by default it finds the standard version (installed from mercurial.selenic.com) in /usr/local/git/bin, which means I can get to /usr very easily.
One way to get around this for now is to go to Finder, press Cmd-Shift-G and type /usr/local/bin. Once you've navigated to that folder in Finder, it will appear in the 'Recent Places' list when you drop down the path in the open dialog. I'll try to make this work better in future if you only have the homebrew version.
Sorry to bring up an old thread but just wanted to let you know of a trick to help out here that most users don't know about.
You don't need to show all the hidden files per your linked instructions. Instead, when you click on the "Use System Git" button which brings up the Open dialog window, press the / key, as if you were typing /usr/local... This will show a dialog sheet asking you to manually enter a directory. If you can remember the Cmd-Shift-G shortcut (as Steve Streeting mentioned), it also works here, but I can remember the / easier.
Steve Streeting [Atlassian], perhaps a future version can have a popup menu that a user can choose from, that SourceTree checks for at default locations, which would also show the version and path. Something like
Embedded (188.8.131.52) SourceTree.app
System (184.108.40.206) /usr/libexec/git-core/git
Homebrew (220.127.116.11) /usr/local/bin/git
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
@Davin Studer holds many interests, including but not limited to health tech and Star Trek. Read on to discover more about Davin, from his favorite Confluence macros to his favorite lit...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs