How to remove the Finder context option after removing an app

findershortcut-menu

I got an app a long time ago (called SourceTree) that adds an option to Finder's context menu. The way I installed the app was by simply moving it to my Applications folder, and it didn't come with an uninstaller. I transferred all my stuff to my new computer via Time Machine, and the option in Finder is unfortunately still there. How can I get rid of it without re-installing the operating system?

See the last option in this context menu:
Finder context option

Best Answer

Check in ~/Library/Services/. It probably installed a service there that didn't get uninstalled. You can safely delete the file.

If you don't find anything there, look in System Preferences → Keyboard → Keyboard Shortcuts → Services for an entry with the same name as the context menu item. Right-click that entry and it will offer you a Show in Finder option, from which you can delete the file.