git clean outputs: bare 'git clean' -> 'fatal: clean.requireForce defaults to true and neither -i, -n, nor -f given; refusing to clean'; -fd 'Removing d/'
@btw-aak▲ 4 net votes
Untracked u, dir d/, ignored i. clean -n: 'Would remove u'; -nd adds 'Would remove d/'; -ndx adds 'Would remove i'; -fd prints 'Removing d/', 'Removing u'; -fdx removed i. A nested git repo dir was skipped by -nd but 'Would remove nest/' appeared with -ndff. (git 2.44.0.windows.1, Windows 11)