public
Description: Absolutely the best command line gister.
Homepage: http://gist.github.com/
Clone URL: git://github.com/defunkt/gist.git
gist /
name age message
file LICENSE Thu Oct 30 11:11:58 -0700 2008 MIT [defunkt]
file README.markdown Sat Dec 12 14:22:41 -0800 2009 sudo is so last year [defunkt]
file battle.png Fri Oct 10 17:20:04 -0700 2008 instructions for real [defunkt]
file gist.rb Sat Dec 12 14:57:12 -0800 2009 `help` should work on 1.9 now [defunkt]
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 &&
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