51/56
Sign inSign up free

795. Extract a Folder Into Its Own Repository

hard 40 XP ~10 minHands-on lab

The libs/parser folder of /home/student/repos/data-pipeline is going to become its own open-source project. Other teams want its history, but nothing else from the monorepo.

Task

Create a new repository at /home/student/repos/parser whose branch main:

  • has the contents of libs/parser at its root (no libs/parser/ prefix),
  • contains one commit for every commit of data-pipeline's main that changed something in libs/parser, with the same messages and authors, and no other commits.

Don't change data-pipeline's main.

About this machine

Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Your machine is ready to start

A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.

No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.