Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Absolutely the best command line gister.
Ruby
branch: master

This branch is 7 commits ahead, 377 commits behind defunkt:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
LICENSE
README.markdown
battle.png
gist.rb

README.markdown

Gist: The Script

Works great with Gist: The Website.

This Fork

Updated to work with Ruby 1.9.

Installation

curl http://github.com/tsion/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

Something went wrong with that request. Please try again.