Skip to content

Instantly share code, notes, and snippets.

@hyuki0000
Created July 7, 2015 12:44
Show Gist options
  • Save hyuki0000/12505aa891f475ba0553 to your computer and use it in GitHub Desktop.
Save hyuki0000/12505aa891f475ba0553 to your computer and use it in GitHub Desktop.

gist & gisty: Create & update your gists via the command line.

Documenation

Install

$ brew install gist
$ gem install gisty

Setup

$ grep GISTY ~/.bash_profile
export GISTY_DIR="$HOME/your/gists"
    # local dir to clone your gists
export GISTY_ACCESS_TOKEN=xxxxxxxxxxxxxxxxxxxx
    # See https://github.com/settings/tokens
    # (Personal access tokens)
$ gisty help

Clone all your gists

$ gisty sync

Create a new gist

$ gisty post file1 file2 ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment