← Learn
Dangerous
git checkout -- .

cross-platform · bash · Intermediate

Restores every tracked file to the last commit. The agent suggests it to get back to a clean state, but uncommitted edits are overwritten…

The full explanation and danger signals for this pack are part of Pro.

Think you can spot these under time pressure?

Start Training

More Git / Development