Skip to content

Commit 7e2df67

Browse files
authored
Update creating-gists.md
updated about section and description to make it easier for people to understand Github Gists.
1 parent 7d68d57 commit 7e2df67

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

  • content/get-started/writing-on-github/editing-and-sharing-content-with-gists

content/get-started/writing-on-github/editing-and-sharing-content-with-gists/creating-gists.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,30 @@ versions:
1616
---
1717
## About gists
1818

19-
Gists provide a simple way to share code snippets with others. Every gist is a Git repository, which means that it can be forked and cloned. If you are signed in to {% data variables.product.github %} when you create a gist, the gist will be associated with your account and you will see it in your list of gists when you navigate to your {% data variables.gists.gist_homepage %}.
19+
Gists provide a simple way to share code snippets, small scripts, notes, or even full files — but in a very lightweight way with others. Every gist is like a mini Git repository, which means that it can be forked and cloned. If you are signed in to {% data variables.product.github %} when you create a gist, the gist will be associated with your account and you will see it in your list of gists when you navigate to your {% data variables.gists.gist_homepage %}.
20+
21+
**In simple words:**
22+
> *Think of Gists as small, shareable Git repositories that are great for tiny projects, code snippets, or notes.*
23+
24+
25+
## Key Points
26+
27+
- **Quick sharing**: You can share small code snippets or files easily.
28+
- **Version control**: Every time you update a gist, it keeps a version history (like Git commits).
29+
- **Forkable & clonable**: Others can fork your gist, and you can clone gists using Git like normal repos.
30+
- **Supports multiple files**: A gist can contain more than one file.
31+
32+
---
33+
34+
## Use Cases
35+
36+
- Sharing config files
37+
- Sharing interview coding questions
38+
- Sharing quick code solutions
39+
- Maintaining small personal notes or documentation
40+
- Embedding code snippets in blogs or websites
41+
42+
---
2043

2144
Gists can be public or secret. Public gists show up in {% data variables.gists.discover_url %}, where people can browse new gists as they're created. They're also searchable, so you can use them if you'd like other people to find and see your work.
2245

0 commit comments

Comments
 (0)