derfla Posted January 15, 2013 Share Posted January 15, 2013 (edited) It works similar to the GitHub command bar and to its update, the keyword is "gh" (example: "gh github/gollum issues"). With enter you can open the entry in your default browser. If you just want to copy the URL of a repo/user/issue, hit cmd+c on an entry. Hit cmd+enter to paste the URL to the front most app. With shift or cmd+y you can open the URL in QuickLook. You have to login (gh > login <user>) before you can use the workflow. The login command opens a dialog box for the password. The workflow does not save the plain password, only a cookie for the login. DOWNLOAD | GitHub Repository | Command list Edited December 13, 2016 by derfla twinpeaks, Enhorn and zhaowu 3 Link to comment
loris Posted January 16, 2013 Share Posted January 16, 2013 Very nice work! I don't know if this is related to my current Alfred settings or something you can add to your workflow, but being able to autocomplete the query would be awesome. For instance, I start typing "gh github", I then select "github/d3", hit TAB, Alfred search input gets autocompleted to "gh github/d3" and then I can add " issues" and hit enter to get to the issues page of the d3 repo. Link to comment
derfla Posted January 16, 2013 Author Share Posted January 16, 2013 Thanks for the feedback! For instance, I start typing "gh github", I then select "github/d3", hit TAB, Alfred search input gets autocompleted to "gh github/d3" and then I can add " issues" and hit enter to get to the issues page of the d3 repo. It should already work this way: Example (I typed: "gh github/", DOWN, DOWN, TAB, "is", DEL, DEL, "#") Link to comment
loris Posted January 16, 2013 Share Posted January 16, 2013 Perfect! It was not working as intended because of my Alfred settings (had set the tab key to "Show actions" here: http://cl.ly/image/3T1R3T3P2G1k) Link to comment
derfla Posted January 16, 2013 Author Share Posted January 16, 2013 Ah ok, good to know. Link to comment
tomhunt Posted January 16, 2013 Share Posted January 16, 2013 great stuff! and thanks for using AlfPT Link to comment
derfla Posted February 13, 2013 Author Share Posted February 13, 2013 I just updated the workflow. New features are Issue searching (e. g. "gh github/github #searchterm") and a self-update mechanism for the workflow. DOWNLOAD | GitHub Repository Enhorn 1 Link to comment
derfla Posted March 22, 2013 Author Share Posted March 22, 2013 Update: I added the missing "gh user/repo issues new" command. And before some weeks I added copy & paste possibilities: With cmd+enter the URL of the current item is copied and pasted to the frontmost app. If you just want to copy the URL, hit cmd+c. Link to comment
Ingolmo Posted April 4, 2013 Share Posted April 4, 2013 Simply the best Github workflow so far, thanks a lot ! Link to comment
derfla Posted April 8, 2013 Author Share Posted April 8, 2013 Update: On weekend I updated the workflow because GitHub has changed the command bar. And today I added the possibility to search files in repos (gh user/repo /path/to/file). See the README on GitHub for a list of all commands. Link to comment
derfla Posted August 3, 2013 Author Share Posted August 3, 2013 Created a bigger update (after many updates with small feature additions in the last months). The cache is refreshed in background now, so the performance/responsiveness should be much better. Link to comment
kylelundstedt Posted July 30, 2015 Share Posted July 30, 2015 Great work on this GitHub workflow! Is there an way to point the workflow to our in-house GitHub Enterprise instance, rather than GitHub.com? Link to comment
derfla Posted July 30, 2015 Author Share Posted July 30, 2015 At the moment it is not possible. You can find a discussion about this feature request on github: https://github.com/gharlan/alfred-github-workflow/issues/37 Link to comment
derfla Posted January 17, 2016 Author Share Posted January 17, 2016 GitHub Enterprise support is available now! Link to comment
derfla Posted December 13, 2016 Author Share Posted December 13, 2016 There are now over 3000 users logged in via OAuth! Thanks to all of you, especially for your comments on twitter and your issues and pull requests on github. I've released version 1.5 today: https://github.com/gharlan/alfred-github-workflow/releases Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now