Git - git clean

git

What is the purpose of the 'git clean' command?

While we are at the status command, over time plenty of the "Untracked files" will get in there. Run git clean if you want to get rid of all of them, or add them to the .gitignore file if you want to keep them around untracked.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License