5/18

Your First Repository and Commit

easy 10 XP ~5 minHands-on lab

The project in /home/student/repos/webapp has never been under version control. It also contains a file with real credentials, secrets.env, which must never end up in Git history.

Task

  1. Turn /home/student/repos/webapp into a Git repository.
  2. Configure the commit identity for this repository only (not globally):
    • name: lina
    • email: lina@example.com
  3. Create one commit with the message Initial commit that contains README.md and app.py.
  4. secrets.env must not be committed.

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.

TerminalNot started

Your machine is ready to start

Create a free account to open a machine and get graded.