Skip to content

Commit 4c8f07f

Browse files
authored
Merge pull request #26 from xebia/3.3-Discussions
3.3 discussions
2 parents c4c468e + 619e9d8 commit 4c8f07f

File tree

4 files changed

+113
-12
lines changed

4 files changed

+113
-12
lines changed

learn-pr/github/introduction-to-github/5-platform-management.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ uid: learn.github.introduction-to-github.platform-management
33
title: GitHub platform management
44
metadata:
55
title: GitHub platform management
6-
description: In this unit, we're learning about how to manage your GitHub notifications, subscriptions, and how to publicize your project on GitHub pages.
6+
description: Learn how to manage your GitHub notifications, subscriptions, and GitHub Pages to stay informed and organize your work efficiently.
77
ms.date: 09/12/2024
88
author: a-a-ron
99
ms.author: aastewar
1010
ms.topic: unit
11-
durationInMinutes: 4
11+
durationInMinutes: 10
1212
content: |
1313
[!include[](includes/5-platform-management.md)]

learn-pr/github/introduction-to-github/includes/2-what-is-github.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,48 @@ Now that we have a good understanding of repositories, we can review gists. Simi
126126

127127
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.
128128

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.
135+
136+
To clone a gist locally:
137+
138+
```bash
139+
git clone https://gist.github.com/your-gist-id.git
140+
```
141+
129142
To learn more about gists, see the linked article in our Resources section at the end of this module titled *Creating Gists*.
130143

144+
---
145+
131146
### What are wikis?
132147

133148
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.
134149

135150
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).

learn-pr/github/introduction-to-github/includes/4-collaborative-platform.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,34 @@ Each category must have a unique name, emoji pairing, and a detailed description
102102
1. Select **Start discussion**.
103103

104104
That covers a little about how GitHub inspires collaboration. Now let's move to how you can manage notifications, subscribe to threads, and get started with GitHub pages.
105+
106+
### Marking a comment as an answer
107+
108+
In a Q&A style discussion, you can mark a comment as the accepted answer to the original question.
109+
110+
1. Navigate to the discussion.
111+
2. Locate the comment that best answers the original question.
112+
3. Select **Mark as answer** below the comment.
113+
114+
The comment will be highlighted, making it easy for others to find the solution quickly. You can also unmark an answer if needed.
115+
116+
### Converting a discussion to an issue
117+
118+
If a discussion leads to work that needs to be tracked, you can convert the discussion into an issue.
119+
120+
1. Navigate to the discussion you want to convert.
121+
2. Select the **`...`** (three dots) menu at the top-right of the discussion.
122+
3. Select **Convert to issue**.
123+
4. Confirm the conversion and select a repository to create the new issue in.
124+
125+
This keeps track of actionable work that originates from community conversations.
126+
127+
### Pinning a discussion
128+
129+
You can pin important discussions to the top of the Discussions page for better visibility.
130+
131+
1. Navigate to the discussion you want to pin.
132+
2. Select the **`...`** (three dots) menu at the top-right of the discussion.
133+
3. Select **Pin discussion**.
134+
135+
Pinned discussions are helpful for highlighting announcements, important questions, or ongoing topics the community should notice.

learn-pr/github/introduction-to-github/includes/5-platform-management.md

Lines changed: 42 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,54 @@ In this unit, we'll cover:
88

99
## Managing notifications and subscriptions
1010

11-
You can choose to receive ongoing updates about specific activity on GitHub.com through a subscription. Notifications are the updates that you receive for specific activity to which you're subscribed.
11+
Notifications help you stay up to date on important activity across your repositories and teams. Managing your subscriptions ensures you only get updates for the work that matters most to you.
1212

13-
### Subscription options
13+
You can subscribe to notifications for:
1414

15-
You can choose to subscribe to notifications for:
15+
- Specific issues, pull requests, or gists
16+
- Repository activity like issues, pull requests, releases, or discussions
17+
- Workflow statuses for repositories using GitHub Actions
18+
- All activity across a repository
1619

17-
- A conversation in a specific issue, pull request, or gist.
18-
- CI activity, such as the status of workflows in repositories set up with GitHub Actions.
19-
- Repository issues, pull requests, releases, security alerts, or discussions (if enabled).
20-
- All activity in a repository.
20+
You're automatically subscribed when you interact with conversations (commenting, opening an issue, being assigned), but you can also manually manage subscriptions as needed.
2121

22-
In some instances, you're automatically subscribed to conversations on GitHub. Examples include opening a pull request or issue, commenting on a thread, or being assigned to an issue or pull request.
22+
If you're no longer interested in receiving updates, you can unsubscribe, unwatch, or customize the types of notifications you receive.
2323

24-
If you're no longer interested in a conversation, you can unsubscribe, unwatch, or customize the types of notifications you'll receive in the future.
24+
## Subscribing to threads and finding threads where you're mentioned
2525

26-
If you're ever interested in issues that mention a certain user, you can use *mentions:* as the qualifier to find those specific issues.
26+
Subscribing to individual threads, such as a particular issue or pull request, ensures you receive updates even if you weren't originally involved.
27+
28+
You can subscribe to a thread by:
29+
30+
- Selecting **Subscribe** on the right-hand sidebar of an issue, pull request, or discussion.
31+
32+
To find conversations where you're mentioned:
33+
34+
- Use the search qualifier `mentions:<username>` in the GitHub search bar to locate issues and pull requests where you were @mentioned.
35+
36+
This makes it easy to keep track of discussions that require your input.
37+
38+
### Filter notifications
39+
40+
GitHub allows you to filter notifications using watch settings:
41+
42+
- **Watching**: Receive notifications for all activity.
43+
- **Not watching**: Receive notifications only when you're participating or @mentioned.
44+
- **Ignore**: No notifications at all for a repository.
45+
- **Custom**: Fine-tune what types of activity (like pull requests, issues, or discussions) trigger notifications.
46+
47+
You can manage watch settings by selecting **Watch** at the top of a repository page.
48+
49+
### Configure notification settings
50+
51+
You can configure where you receive notifications:
52+
53+
- **Email**: Notifications delivered to your registered email address.
54+
- **Web**: Notifications viewed directly in your GitHub dashboard.
55+
- **Mobile**: Push notifications using the GitHub mobile app.
56+
- **Custom notifications**: Configure specific event types for different channels.
57+
58+
Notification settings are managed under your GitHub account settings in **Notifications**.
2759

2860
## What are GitHub Pages?
2961

0 commit comments

Comments
 (0)