What is GitHub Gist?
GitHub Gists provide lightweight, version-controlled sharing for multiple public or private files without full repository features.
Transcript 1 topic
GitHub Gist basics
0:00So what is a GitHub gist? Well, imagine it is like the little brother of a GitHub repository. You'll lose things like issues, actions, pull requests, projects, but you keep things like support for multiple files, ability to make it public or private, and version control. Now there are a ton of use cases for GitHub Gist, but a few might be sharing code snippets, storing documents for later, embedding code in your website. So how do we use them?
Well, I'm gonna assume you have a GitHub account. And from github.com, you can press the little plus sign in the top header and choose new gist. On that new gist screen, you can choose an optional description, whether it's public or private and copy in the contents of your file. I mentioned earlier that your revisions are tracked just like a repository. And on that gist detail page, you can click on the revisions tab and see the history of all of the files including a rich diff.
How do you use GitHub gist? I love finding new ways to use this stuff. Let me know in the comments below and I'll catch you next time.
Sign in to join in. Reading needs nothing.