Skip to content

Commit aee6dc2

Browse files
Update to 1 in STEP and README.md
1 parent 6904ade commit aee6dc2

File tree

2 files changed

+14
-38
lines changed

2 files changed

+14
-38
lines changed

.github/steps/-step.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0
1+
1

README.md

+13-37
Original file line numberDiff line numberDiff line change
@@ -14,49 +14,25 @@ _Learn why conflicts happen and how to resolve them._
1414
</header>
1515

1616
<!--
17-
<<< Author notes: Course start >>>
18-
Include start button, a note about Actions minutes,
19-
and tell the learner why they should take the course.
17+
<<< Author notes: Step 1 >>>
18+
Choose 3-5 steps for your course.
19+
The first step is always the hardest, so pick something easy!
20+
Link to docs.github.com for further explanations.
21+
Encourage users to open new tabs for steps!
2022
-->
2123

22-
## Welcome
24+
## Step 1: Create a pull request
2325

24-
Merge conflicts happen when two people make changes to the same file on GitHub—a common occurrence when you’re working with others. While resolving differences might involve some discussion, merge conflicts don’t have to be scary. This course guides you through the steps to finding the best merge conflict solution, so your team can keep building.
26+
_Welcome to "Managing Merge Conflicts"! :wave:_
2527

26-
- **Who is this for**: New developers, new GitHub users, users new to Git, students, managers, teams.
27-
- **What you'll learn**: What merge conflicts are, how you resolve merge conflicts, how to reduce merge conflicts.
28-
- **What you'll build**: We'll work with a short Markdown resume file in this course.
29-
- **Prerequisites**: We recommend taking [Introduction to GitHub](https://github.com/skills/introduction-to-github) prior to this course.
30-
- **How long**: This course takes less than 30 minutes to complete.
28+
**What is a _merge conflict_?**: A **merge conflict** occurs when changes are made to the same part of the same file on two different branches. You usually find out about conflicts in a pull request so let's start by creating one.
3129

32-
In this course, you will:
30+
### :keyboard: Activity: Create a pull request
3331

34-
1. Create a pull request
35-
2. Resolve a merge conflict
36-
3. Create a merge conflict
37-
4. Merge your pull request
38-
39-
### How to start this course
40-
41-
<!-- For start course, run in JavaScript:
42-
'https://github.com/new?' + new URLSearchParams({
43-
template_owner: 'skills',
44-
template_name: 'resolve-merge-conflicts',
45-
owner: '@me',
46-
name: 'skills-resolve-merge-conflicts',
47-
description: 'My clone repository',
48-
visibility: 'public',
49-
}).toString()
50-
-->
51-
52-
[![start-course](https://user-images.githubusercontent.com/1221423/235727646-4a590299-ffe5-480d-8cd5-8194ea184546.svg)](https://github.com/new?template_owner=skills&template_name=resolve-merge-conflicts&owner=%40me&name=skills-resolve-merge-conflicts&description=My+clone+repository&visibility=public)
53-
54-
1. Right-click **Start course** and open the link in a new tab.
55-
2. In the new tab, most of the prompts will automatically fill in for you.
56-
- For owner, choose your personal account or an organization to host the repository.
57-
- We recommend creating a public repository, as private repositories will [use Actions minutes](https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions).
58-
- Scroll down and click the **Create repository** button at the bottom of the form.
59-
3. After your new repository is created, wait about 20 seconds, then refresh the page. Follow the step-by-step instructions in the new repository's README.
32+
1. Open a new browser tab, and work on the steps in your second tab while you read the instructions in this tab.
33+
1. We made a small change to a file in the repository in the `my-resume` branch.
34+
1. [Create a pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request) setting `my-resume` as the head branch and `main` as the base branch. You can enter `Resolving merge conflicts` for the pull request title and body.
35+
1. Wait about 20 seconds then refresh this page (the one you're following instructions from). [GitHub Actions](https://docs.github.com/en/actions) will automatically update to the next step.
6036

6137
<footer>
6238

0 commit comments

Comments
 (0)