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 *