open local git repos in vscode
- Go to the releases page and download/import the workflow into alfred.
- Edit the workflow and make sure the following variables are set:
REPOS_DIRECTORY: Set to the root directory where you keep all of your local git repos.
- Search for repos with
repo <search>. - Select the repo to open with the following modifier keys:
Cmd + Enteropens in vscodeOpt + Enteropens in sublimetextCtrl + Enteropens in iTermright arrowopens universal actions menu
Q: I get the error “alfred-repos” cannot be opened because the developer cannot be verified.. How can i fix it?
A: Thats an error gatekeeper returns when a binary isn't signed by an apple certificate. To fix that follow these steps:
- Press cancel on the promp you received.
- Go to preferences and select
Security & Privacy. On the general tab, make sure "Allow apps download from: App Store and identified developers" is selected. Beneath that you should see the textalfred-repos was blocked from use because it is not from an identified developer. Press theAllow Anywaybutton and it try using the workflow again.