Question 241 · 530 in bank
A developer completed the creation of a script using Git. Before delivering it to the customer, the developer wants to be sure about all untracked files, without losing any information. Which command gathers this information?
Show answer
Answer: A
Explanation
The -n option will perform a “dry run” of git clean. This will show you which files are going to be removed without actually removing them. It is a best practice to always first perform a dry run of git clean. https://www.atlassian.com/git/tutorials/undoing-changes/git-clean
Source: Adapted from community discussion — Woonesuf
