I'm using Git for version control. Now I want to delete on my local machine all files in the repository that are not tracked.
I can use
git status
to list these files, but how can I delete all of them?
|
I'm using Git for version control. Now I want to delete on my local machine all files in the repository that are not tracked. I can use
to list these files, but how can I delete all of them?
| |||||||
feedback
|
|
If you have it in ignore, use | ||||
|
feedback
|
git clean -f | |||
feedback
|