Skip to content

Instantly share code, notes, and snippets.

@josch
Created September 7, 2009 06:46
Show Gist options
  • Save josch/182206 to your computer and use it in GitHub Desktop.
Save josch/182206 to your computer and use it in GitHub Desktop.
gist(1) GIST gist(1)
NAME
gist: command line git pastebin:
SYNOPSIS
<command> | curl -d file_ext\[gistfile1\]=.py -d file_name\[gistfile1\]=file_1 --data-urlencode file_contents\[gistfile1\]@- -w \\n%\{redirect_url\}\\n gist.github.com/gists
DESCRIPTION
clone the resulting git repository with
git clone git://gist.github.com/[id].git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment