Clicking 'Clone' link on Bitbucket / Stash doesn't work
Symptoms
- Click a 'Clone in SourceTree' link in Bitbucket or Stash
- You receive an error along the lines of 'sourcetree:// doesn't have any registered protocol handlers'
You may also have a similar problem when launching GitHub 'Clone in Mac' links, either the above error or SourceTree not handling the link even though you've enabled it in Preferences > Git.
Cause
Mac OS X's Launch Services database hasn't been updated when SourceTree 1.4 was installed. It appears that the auto-update system (Sparkle) doesn't trigger the database update, but dragging / dropping a new .app into Applications in Finder does.
Resolution
To rebuild your Launch Services database, in a terminal, run the following command:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
- Alternatively, re-download SourceTree from the website and drag it from the image into /Applications in Finder, which will cause Launch Services to refresh
Last modified on Feb 26, 2016
Powered by Confluence and Scroll Viewport.