Git · Junior · Question 57 of 75

What does git clean -n do?

Explanation

-n is a dry run; -f actually deletes. Untracked files aren't in Git, so once cleaned they can't be recovered from it.

Further reading

Problem with a question

Git · Junior · question 57

Test yourself

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

Take this quiz