Hacker News new | ask | show | jobs
by dfee 1492 days ago
Not at a term, but would this prevent `git clean -fdx` from removing the dir? That’d be quite useful!
1 comments

No, since -x means to “disregard standard ignore rules”, such as .gitignore and .git/info/exclude.

> Don’t use the standard ignore rules (see gitignore[5]), but still use the ignore rules given with -e options from the command line.