
About GitHub Gist
GitHub Gist is a place to share code snippets, notes and small files. Each gist has its own link, and you choose whether it is public or secret.
What it does
A gist can hold one or more files. You can create one, edit it and share its link with anyone. Gists keep a revision history, and other people can star, comment on or fork them, so they can follow or build on your work. Many developers use gists to share a quick script or a configuration example instead of setting up a full repository.
Key features
- Create gists with one or more files
- Share a direct link to any snippet
- Fork another person's gist into your own copy
- Keep a revision history for each gist
- Comment on and star gists from others
Who it's for
Developers, writers and teachers who want to share short code or notes without a full project. It is a good fit for sharing an example in a bug report or a discussion thread.
Pricing and good to know
Gist is part of GitHub and can be used with a free GitHub account. Public gists can be seen by anyone who has the link or finds them on the site, so never put passwords, keys or personal data in a gist. Treat anything you post as visible to others, even when the gist is marked secret.
Highlights
- Create gists with one or more files
- Share a direct link to any snippet
- Fork another person's gist into your own copy
- Keep a revision history for each gist
- Comment on and star gists from other users












