A Clone With Empty Submodule Folders
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.
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.
Part of Git Essentials. Next step: Hide a Reformatting Commit From git blame
Teaching or writing about this? Embed this lab on your page
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.