BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

Github Gist: Versioning For Pasted Code

| by Werner Schuster on Jul 24, 2008. Estimated reading time: less than one minute |
Github just added another service: Gist, which was demoed at RubyFringe. Gist is basically a paste tool, similar to Pastie. Paste tools make it easy to share text or code - the user pastes the text into a text field on the site which returns a URL under which this text is accessible.

Gist works the same way - except with a twist: the pasted text ends up in a git repository, which is accessible via a git clone URL - it can be checked out with a git client program. Not just that, the connection works both ways: pushing a commit back to the repository makes the changes (and added files) accessible in the Gist web interface, which also allows to edit text files. Gist allows to start off from a pasted bit of text or code and collaborate over the net, either using a web interface or git tools.

Bryan Liles created a screencast demoing the Gist workflow and features. The screencast shows how to paste snippets then use the generated git clone URL to access the pasted code using command line git  and then pushing a modified version back.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT