← Learn
Safe
git clean -n

cross-platform · bash · Advanced

Shows which untracked files git clean would remove, without removing any of them. The -n flag is the dry-run switch, and recognising that one letter is the difference between a preview and permanent deletion.

Think you can spot these under time pressure?

Start Training

More Git / Development