43/56
Sign inSign up free

771. A Clone With Empty Submodule Folders

easy 10 XP ~6 minHands-on lab

A new teammate cloned the project into /home/student/repos/inventory-api. The build fails: the submodule folders third_party/proto and third_party/tools are empty, and third_party/tools itself has a submodule, lint.

Task

Make every submodule of inventory-api, including nested ones, checked out at exactly the commit the project pins, without changing what the project pins. The parent's working tree must stay clean.

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.