public
Description: Absolutely the best command line gister.
Homepage:
Clone URL: git://github.com/defunkt/gist.git
Click here to lend your support to: gist and make a donation at www.pledgie.com !
Will Benton (author)
Mon Oct 19 12:58:56 -0700 2009
defunkt (committer)
Mon Oct 19 13:06:21 -0700 2009
gist /
name age message
file LICENSE Thu Oct 30 11:11:58 -0700 2008 MIT [defunkt]
file README.markdown Mon Apr 27 19:05:24 -0700 2009 `github.user` not `github.username`. (Should be... [defunkt]
file battle.png Fri Oct 10 17:20:04 -0700 2008 instructions for real [defunkt]
file gist.rb Mon Oct 19 12:58:56 -0700 2009 Trivial fix to work with current new-gist form. [Will Benton]
README.markdown

Gist: The Script

Works great with Gist: The Website.

Installation

curl http://github.com/defunkt/gist/raw/master/gist.rb > gist &&
chmod 755 gist &&
sudo mv gist /usr/local/bin/gist

Use

gist < file.txt
echo secret | gist --private # or -p
gist 1234 > something.txt

Authentication

Just have your git config set up with your GitHub username and token.

git config --global github.user "your-github-username"
git config --global github.token "your-github-token"

You can find your token under your account.

Ninja vs Shark

Ninja vs Shark