4 ms·
Do people really use find like that to clean up source code? git clean -fxdn # review what would be deleted, then git clean -fxd
by JosefAssad 7y ago
Do people really use find like that to clean up source code?
git clean -fxdn # review what would be deleted, then
git clean -fxd
- Hamuko 7y agoI do for .pyc files. find . -name "*.pyc" -delete
- JosefAssad 7y agoIs there a reason you prefer that rather than having something like *.py[cod] in your .gitignore?
- Hamuko 7y agoYeah, the reason is that the Python interpreter doesn't give a shit about .gitignore.