---

How to Remove Untracked Files in Git

The files in the Git working directory can be either tracked or untracked. Tracked files are the ones that have been added and committed and git knows about. Tracked files can be unmodified, modified, or staged. All other files in the working directory are untracked and git is not aware of those files.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis