Set up shortcuts to your SourceTree repos using Alfred (an installable workflow)
This short guide shows you how to set up access to your SourceTree repos through Alfred. While it’s easy to create custom shortcuts in Alfred, the non-tabbed nature of SourceTree makes it more difficult to set up shortcuts to your Git and Mercurial repositories. Luckily, there’s an installable workflow that works great.
Tools:
- 1 ea Alfred for OSX
- 1 ea SourceTree for OSX
1About the tools: Alfred and SourceTree together
Alfred is an amazing workflow management app for OS X. SourceTree is an amazing graphical client that allows you to interact with your Git and Hg repositories without needing to use the command line. By combining the two, you can save tons of time in your normal development workflow.
2Download the workflow
zhaocai has made an awesome installable workflow which allows you to list, search, and open your repos. Download the workflow from the alfred2-sourcetree-workflow Github page.
3Install the workflow
Locate Source Tree.alfredworkflow in Finder and open it to import it into Alfred. Select a category and click “Import”.

4Using the workflow
Opening a specific repo – the shortcut to use is “st repo_name”:st howchoo
Listing all repos – the shortcut to use is “st” (no argument provided):st

Now learn about:
Discuss this guide
Tools:
- 1 ea Alfred for OSX
- 1 ea SourceTree for OSX