4 ms·
What happens if you accidentally git clean -dfx?
by desdiv 12y ago
What happens if you accidentally git clean -dfx?
- Karunamon 12y agoRoughly the same thing that happens if you run rm -rf ~. Any tool that manipulates files can be coaxed into shooting you in the foot. Any usage of -f on a git command means you're probably doing something that you shouldn't be unless you absolutely know better.