Skip to content

[WIP] Revert recent changes in repository#10

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/revert-recent-changes
Draft

[WIP] Revert recent changes in repository#10
Copilot wants to merge 2 commits intomainfrom
copilot/revert-recent-changes

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 15, 2026

Original prompt

Revert the changes described by the user in the repository.

Repository: MicrosoftLearning/mslearn-copilot
Target branch: main

Task:

  • Create a pull request that reverts the commit(s) that the user intends to undo.
  • The user request: "please revert this".

Important context:

  • Earlier in the conversation, the user referenced a merge commit in a different repository (MicrosoftDocs/learn-m365-pr, commit af32fe7e300e0f3adbbe6f555206a270dc14214e). However, the explicit repo provided now is MicrosoftLearning/mslearn-copilot on ref main.

Implementation guidance:

  • Determine what the user wants to revert in MicrosoftLearning/mslearn-copilot (likely a recent commit or merge on main).
  • If the intended commit is not identifiable from the provided context, inspect recent commits on main and look for a likely candidate (e.g., a merge similar to the earlier referenced content) and revert it using a revert commit (do not rewrite history).
  • Ensure the revert PR includes a clear description of what was reverted and why.
  • Run/ensure any repo checks/tests pass.

The following is the prior conversation context from the user's chat exploration (may be truncated):

User: Can you explain what i did here?

Assistant: You merged a pull request that added two brand-new Microsoft Learn modules (plus their units/content) into MicrosoftDocs/learn-m365-pr.

What this commit is

  • Commit: af32fe7e300e0f3adbbe6f555206a270dc14214e
  • Date: 2026-04-15 19:49:59Z
  • Commit message: “Merge pull request Skillalable OneDrive link is wrong #6 from rcaper/rcaper-feature-branch-test-understand-work-iq-copilot …”
  • Type of change: a merge commit created by GitHub (web-flow), meaning it brings the changes from your feature branch into the target branch.
  • Diff size: +1133 lines, 0 deletions (everything in this commit is new files/content).

What you added (high level)

You added content under learn-m365-pr/wwl/ for two modules, each with:

  • an index.yml (module definition)
  • several unit .yml files (module units)
  • corresponding includes/*.md Markdown files (the actual written learning content)
  • at least one knowledge check unit (quiz)

Module 1: “A day in the life of a Marketing Manager with Microsoft 365 Copilot”

Folder: learn-m365-pr/wwl/day-in-the-life-marketing-manager-copilot/

You added:

  • index.yml defining the module metadata (title, summary, abstract, prerequisites, units list, etc.)
  • Unit YAML files 1-...yml through 8-...yml (intro, 5 scenario-based units, knowledge check, summary)
  • Markdown include files like:
    • includes/1-introduction.md
    • includes/2-recap-meeting-decisions-copilot-teams.md
    • includes/3-catch-up-inbox-copilot-chat.md
    • includes/4-draft-emails-copilot-outlook.md
    • includes/5-build-presentation-powerpoint-agent.md
    • includes/6-draft-pitch-document-word-agent.md
    • includes/8-summary.md
  • A quiz file: 7-knowledge-check.yml with 5 multiple-choice questions.

Module 2: “Understand Work IQ in Microsoft Copilot”

Folder: learn-m365-pr/wwl/understand-work-iq-copilot/

You added:

  • index.yml defining the module
  • Unit YAML files 1-...yml through 7-...yml (intro, concept units, license comparison, knowledge check, summary)
  • Markdown include files like:
    • includes/1-introduction.md
    • includes/2-what-is-work-iq.md
    • includes/3-explore-memory-and-context.md
    • includes/4-understand-personalization.md
    • includes/5-compare-copilot-licenses.md
    • includes/7-summary.md
  • A quiz file: 6-knowledge-check.yml with 5 questions.

Notable metadata you set

Across the new unit/module YAML files, you set things like:

  • YamlMime: Module and YamlMime: ModuleUnit
  • uid values in the learn.wwl.... namespace
  • ms.author: rcaper
  • ai-usage: ai-generated
  • ms.date values (notably 04/03/2026 for the marketing-manager module and 04/15/2026 for the Work IQ module)

In one sentence

You completed a PR merge that introduced two complete Learn modules (structure + authored content + quizzes) about Microsoft 365 Copilot scenarios and “Work IQ”, by adding only new files (no edits/removals).

If you paste the PR link for #6, I can also summarize why it was merged (PR description), what checks ran, and what reviewers/comments (if any) said.

User: Can you undo this?

Assistant: Yes—there are two common ways to “undo” this merge commit. Which one you should use depends on whether the branch is already published/used by others.

Option A (recommended if this is already pushed/shared): Revert the merge commit

This makes a new commit that cleanly backs out everything introduced by the merge, without rewriting history.

  1. Open the commit: af32fe7e300e0f3adbbe6f555206a270dc14214e
  2. Click Revert in the GitHub UI (it should offer to create a PR).
  3. Make sure it’s reverting the merge (GitHub will handle the merge-parent selection in the UI).
  4. Merge the revert PR.

Equivalent git command (run local...

This pull request was created from Copilot chat.

…-lab-metadata-20260311-054826"

This reverts commit 8eff6f1, reversing
changes made to f89f0f9.

Co-authored-by: rcaper <48692806+rcaper@users.noreply.github.com>
Copilot AI requested a review from rcaper April 15, 2026 20:15
Copilot stopped work on behalf of rcaper due to an error April 15, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants