From 9dca4e5f54e2775475305f732869543a516380a4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 19 Aug 2024 16:56:53 +0000 Subject: [PATCH 1/3] Update to 1 in STEP and README.md --- .github/steps/-step.txt | 2 +- README.md | 50 +++++++++++------------------------------ 2 files changed, 14 insertions(+), 38 deletions(-) diff --git a/.github/steps/-step.txt b/.github/steps/-step.txt index 573541a..d00491f 100644 --- a/.github/steps/-step.txt +++ b/.github/steps/-step.txt @@ -1 +1 @@ -0 +1 diff --git a/README.md b/README.md index 9a6ed76..77df436 100644 --- a/README.md +++ b/README.md @@ -14,49 +14,25 @@ _Learn why conflicts happen and how to resolve them._ -## Welcome +## Step 1: Create a pull request -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. +_Welcome to "Managing Merge Conflicts"! :wave:_ -- **Who is this for**: New developers, new GitHub users, users new to Git, students, managers, teams. -- **What you'll learn**: What merge conflicts are, how you resolve merge conflicts, how to reduce merge conflicts. -- **What you'll build**: We'll work with a short Markdown resume file in this course. -- **Prerequisites**: We recommend taking [Introduction to GitHub](https://github.com/skills/introduction-to-github) prior to this course. -- **How long**: This course takes less than 30 minutes to complete. +**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. -In this course, you will: +### :keyboard: Activity: Create a pull request -1. Create a pull request -2. Resolve a merge conflict -3. Create a merge conflict -4. Merge your pull request - -### How to start this course - - - -[![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) - -1. Right-click **Start course** and open the link in a new tab. -2. In the new tab, most of the prompts will automatically fill in for you. - - For owner, choose your personal account or an organization to host the repository. - - 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). - - Scroll down and click the **Create repository** button at the bottom of the form. -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. +1. Open a new browser tab, and work on the steps in your second tab while you read the instructions in this tab. +1. We made a small change to a file in the repository in the `my-resume` branch. +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. +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.