You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: learn-pr/github/introduction-to-github/includes/2-what-is-github.md
+38Lines changed: 38 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,10 +126,48 @@ Now that we have a good understanding of repositories, we can review gists. Simi
126
126
127
127
Every gist is a Git repository, which you can fork and clone and be made either public or secret. Public gists are displayed publicly where people can browse new ones as they’re created. Public gists are also searchable. Conversely, secret gists aren't searchable, but they aren’t entirely private. If you send the URL of a secret gist to a friend, they'll be able to see it.
128
128
129
+
### Forking and cloning gists
130
+
131
+
You can fork a gist to create a copy of someone else's gist in your account.
132
+
133
+
1. Navigate to the gist you want to fork.
134
+
2. Select **Fork** at the top-right of the gist page.
To learn more about gists, see the linked article in our Resources section at the end of this module titled *Creating Gists*.
130
143
144
+
---
145
+
131
146
### What are wikis?
132
147
133
148
Every repository on GitHub.com comes equipped with a section for hosting documentation, called a wiki. You can use your repository's wiki to share long-form content about your project, such as how to use it, how you designed it, or its core principles. While a README file quickly tells what your project can do, you can use a wiki to provide additional documentation.
134
149
135
150
It’s worth a reminder that if your repository is private, only people who have at least read access to your repository will have access to your wiki.
151
+
152
+
### Creating, editing, and deleting wiki pages
153
+
154
+
You can use the GitHub wiki to create and manage documentation for your project.
155
+
156
+
**To create a wiki page:**
157
+
158
+
1. Navigate to the repository.
159
+
2. Select the **Wiki** tab.
160
+
3. Select **Create the first page** if no pages exist, or **New Page** to add a page.
161
+
4. Enter a title and content, then select **Save Page**.
162
+
163
+
**To edit a wiki page:**
164
+
165
+
1. Navigate to the wiki page you want to edit.
166
+
2. Select **Edit** at the top-right.
167
+
3. Make changes and select **Save Page**.
168
+
169
+
**To delete a wiki page:**
170
+
171
+
- Deleting a wiki page requires using Git. Clone the wiki repository, remove the file, and push the change.
172
+
173
+
Learn more about managing wikis in [GitHub Docs - Adding or editing wiki pages](https://docs.github.com/en/communities/documenting-your-project-with-wikis/adding-or-editing-wiki-pages).
0 commit comments