Skip to content

Commit 1ada680

Browse files
authored
Update alt text
1 parent 4495a6b commit 1ada680

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

episodes/basic-prs.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ exercises: 5
66

77
::::::::::::::::::::::::::::::::::::::: objectives
88

9-
- "Become familiar with basic actions on GitHub Pull Requests."
9+
- Become familiar with basic actions on GitHub Pull Requests.
1010

1111
::::::::::::::::::::::::::::::::::::::::::::::::::
1212

1313
:::::::::::::::::::::::::::::::::::::::: questions
1414

15-
- "How do you open a PR?"
16-
- "How do you interact with a PR?"
17-
- "How do you merge a PR?"
15+
- How do you open a PR?
16+
- How do you interact with a PR?
17+
- How do you merge a PR?
1818

1919
::::::::::::::::::::::::::::::::::::::::::::::::::
2020

@@ -40,17 +40,17 @@ First we will make a change to a file in our repository. We click on the
4040
preferred file in the repository and hit the "Edit" pencil in the top-right
4141
corner.
4242

43-
![](fig/prs-edit-file.png){alt='File edit button highlight'}
43+
![](fig/prs-edit-file.png){alt='On a README file, the File edit button in the top-right is highlighted'}
4444

4545
Once the file is edited to our satisfaction, we click "Commit changes...",
4646
which pops up a dialog box asking us to fill in the commit message.
4747

48-
![](fig/prs-commit-dialog.png){alt='Commit changes pop-up dialog'}
48+
![](fig/prs-commit-dialog.png){alt='Commit changes pop-up dialog with the sections Commit message, Extended commit message, and the radio option for "Commit directly to `main`" or "Create a new branch" circled'}
4949

5050
Rather than committing directly to the main branch, we will instead make a
5151
new branch with the changes.
5252

53-
![](fig/prs-new-branch-dialog.png){alt='Commit changes/new branch pop-up dialog'}
53+
![](fig/prs-new-branch-dialog.png){alt='Commit changes pop-up dialog, zoomed in on the "Create a new branch" radio button when clicked, which defaults a branch name that can be changed'}
5454

5555
GitHub will autopopulate a branch name for us. We can choose to keep it or
5656
change it.
@@ -60,7 +60,7 @@ change it.
6060
Once we click "Commit changes," the page will load the "Open a pull request"
6161
page with our commit message as the title.
6262

63-
![](fig/prs-new-pr-default.png){alt='Open a pull request page reloaded'}
63+
![](fig/prs-new-pr-default.png){alt='Open a pull request page loaded - shows the commit message from the previous step as the Title, empty "Write" section'}
6464

6565
A new PR has several parts:
6666

@@ -70,7 +70,7 @@ A new PR has several parts:
7070

7171
To open the issue, click the "Create pull request" button.
7272

73-
![](fig/prs-new-pr-view.png){alt='Newly opened PR with proposed changes'}
73+
![](fig/prs-new-pr-view.png){alt='Newly opened PR with proposed changes - main page shows the Title, description, list of commits, and merge options'}
7474

7575
::::::::::::::::::::::::::::::::::::::: challenge
7676

@@ -96,21 +96,21 @@ have commented on or subscribed to the PR.
9696
Simply click in the comment box at the bottom of the PR, type whatever
9797
you'd like, and click "Comment."
9898

99-
![](fig/add-pr-comment.png){alt='Add a comment to a PR'}
99+
![](fig/add-pr-comment.png){alt='Comment box on a Pull Request - Write section includes a statement, "I am writing a comment on this PR"'}
100100

101101
Another useful feature for GitHub is linking Issues and PRs. This is actually
102102
very simple. In the PR's description or in a comment, mention the relevant
103103
Issue using `#` and the Issue number.
104104

105-
![](fig/link-pr-to-issue.png){alt='Link a PR to an Issue'}
105+
![](fig/link-pr-to-issue.png){alt='An image using the pound symbol (#) to pop-up options for linking other Issues or Pull Requests'}
106106

107107
This will create a link to the Issue.
108108

109-
![](fig/linked-issue.png){alt='Link to the Issue'}
109+
![](fig/linked-issue.png){alt='An image showing the pop-up to a linked issue. The pop-up shows a small preview of the linked issue that includes the title and some portion of the description.'}
110110

111111
You can also edit the information in the right-hand column.
112112

113-
![](fig/prs-right-hand-column.png){alt='Information block with reviewers, assignees, labels, projects'}
113+
![](fig/prs-right-hand-column.png){alt='Information block on the right-hand side that includes reviewers, assignees, labels, projects'}
114114

115115
We will cover the following options:
116116

@@ -148,11 +148,11 @@ are going to skip it for now.
148148

149149
Merging a PR is quite simple - just click the "Merge pull request" button.
150150

151-
![](fig/merge-pr-no-review.png){alt='A simple merge with our exercise PR'}
151+
![](fig/merge-pr-no-review.png){alt='The merge options on the example PR that shows that the branch has no conflicts and the "Merge pull request" button highlighted'}
152152

153153
The dropdown on the "Merge pull request" shows several options:
154154

155-
![](fig/merge-pr-options.png){alt='Merge PR dropdown with three options'}
155+
![](fig/merge-pr-options.png){alt='Merge PR dropdown with three options - Create a merge commit, Squash and merge, Rebase and merge'}
156156

157157
We will not cover all of these options here, but read more about them in
158158
[GitHub's official documentation](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/merging-a-pull-request#merging-a-pull-request).
@@ -161,7 +161,7 @@ When you click the "Merge pull request" button, a new dialog box appears,
161161
prompting for the commit message. Once you have made the preferred edits,
162162
click "Confirm merge."
163163

164-
![](fig/confirm-merge-dialog.png){alt='Confirm merge dialog box'}
164+
![](fig/confirm-merge-dialog.png){alt='Confirm merge dialog box - shows the merge commit message, an extended message, and a button to confirm the merge'}
165165

166166
The changes have been incorporated back into the `main` branch.
167167

@@ -181,8 +181,8 @@ You now know the basic actions you can take on a GitHub Pull Request!
181181

182182
:::::::::::::::::::::::::::::::::::::::: keypoints
183183

184-
- "New PRs can be opened in a repository from a branch or a fork."
185-
- "Text on PRs use Markdown styling for formatting."
186-
- "A user can interact with PRs in multiple ways: commenting, assigning reviewers, linking to other issues and pull requests, and more."
184+
- New PRs can be opened in a repository from a branch or a fork.
185+
- Text on PRs use Markdown styling for formatting.
186+
- A user can interact with PRs in multiple ways: commenting, assigning reviewers, linking to other issues and pull requests, and more.
187187

188188
::::::::::::::::::::::::::::::::::::::::::::::::::

0 commit comments

Comments
 (0)