Software Engineer, Cyber Security Enthusiast
Removing un-tracked files
We can use git clean -f to clean up un-tracked files in the working directory.
Do a test run to see what files are to be deleted by running:
git clean -n
Once, you are satisfied, run:
git clean -f
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.