Gist is a modern pastebin service operated by GitHub. Unlike a simple pastebin site, a gist behind the scenes is using the Distributed Version Control System (DVCS) Git. “All gists are Git repositories, so they are automatically versioned, forkable and usable from Git.”
When including source code on a site there are scripts that allow one to include the code from the gist site. Anyone interested in the source has a cleaner interface to view, copy, download, or fork.
An example is on one of my blog posts. To show the source on the page took only one line:
[gist id=”6680049″ file=”Gather.groovy”]
- What is the difference between github and gist
- Welcome to a New Gist
- Github presents Gist
- GitHub unites Version Control with the Pastie
- GitHub Gist is Pastie on Steroids
- Groovy implementation of INIX file format
- Parsing files using Groovy closures
- A Groovy powered blog?
- Java fluent inline map initialization
- File ASCII Hex Dump using Groovy