Git Remove Untracked Files from Working Tree

https://stackoverflow.com/a/64966/12539782

1
2
3
4
# Print out the list of files and directories which will be removed (dry run)
git clean -n -d
# Delete the files from the repository
git clean -f

Layout of comment panels