git clean
helps remove untracked files.
I used to run git clean -Xdn
to list files that would be removed, then git clean -Xdf
to remove them.
This is hard to remember and error prone. Try one of these shell commands to simplify this useful series.
The "gum" version of gitclean
looks like: