BT

Github Gist: Versioning For Pasted Code

by Werner Schuster on Jul 24, 2008 |
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.

Hello stranger!

You need to Register an InfoQ account or 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

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2013 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT