Block Commits with a pre-commit Hook
Developers in /home/student/repos/inventory-api mark temporary debug code with DO NOT COMMIT, and sometimes commit it anyway.
Install a pre-commit hook in this repository that:
DO NOT COMMIT, printing pre-commit: remove DO NOT COMMIT from FILE to stderr (one line per such file)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.
Your machine is ready to start
Create a free account to open a machine and get graded.