defunkt/gist — pull request #120 by dlo (2012-11-10 18:27:53+00:00)
Title: Add link shortening with --shorten / -s option

This commit gives gist the new ability to shorten gist URLs using GitHub's URL shortener, git.io. It adds two options on the command line (`-s` and `--shorten`) along with a gitconfig config called `shorten`.

If the shortening step fails, or if git.io is down, gist will just return the normal, unshortened version.