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: README.md
+13-37
Original file line number
Diff line number
Diff line change
@@ -14,49 +14,25 @@ _Learn why conflicts happen and how to resolve them._
14
14
</header>
15
15
16
16
<!--
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!
20
22
-->
21
23
22
-
## Welcome
24
+
## Step 1: Create a pull request
23
25
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:_
25
27
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.
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.
0 commit comments