Git · Middle · Question 53 of 75

What does git clean -fdx remove?

Explanation

-d includes directories and -x includes ignored files such as node_modules and .env. It's a full reset of untracked content, so preview with -n first.

Further reading

Problem with a question

Git · Middle · question 53

Test yourself

Take the Git · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz