cli.fail

Practice this fail.

The file nobody sees.

Git · Restart as often as you like

Read the error, choose a command, and learn
why it works. Nothing runs on your machine.

Browse all practice ↗

Git · Intermediate

debug.log is untracked and ignored. Identify the exact ignore rule and its source file.

The file nobody sees.

$ git status --short

(debug.log is missing from the list)

Which command explains why debug.log is ignored?

3 attempts remaining

Read why this fix works

The file nobody sees.

git check-ignore -v debug.log

check-ignore -v reports the source, line number, and matching ignore pattern for an ignored path. This is useful when rules come from multiple ignore files.

Practice rounds do not affect the daily score or local streak. Try today’s challenge, or choose another scenario.

Copy your result