Skip to content

Instantly share code, notes, and snippets.

@psenger
Forked from rwilcox/services.markdown
Last active March 15, 2020 02:40
Show Gist options
  • Save psenger/9a3aaa4c49b5f75cb491cc1bab55213c to your computer and use it in GitHub Desktop.
Save psenger/9a3aaa4c49b5f75cb491cc1bab55213c to your computer and use it in GitHub Desktop.
[How to create a new gist from OS X Service] #git #MacOS

How to create a Public Gist Service:

Step 0: Open Automator, New Service.

Step 1: Drag out Run Shell Script action. Pass Input to STDIN

Step 2: This code:

open `gist`

This assumes you have the gist command line client installed (gem install gist), and your Github username and token set up in git config

My blog entry on the topic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment