Git Remove Untraked Files

[Solved] Git Remove Untraked Files | Shell - Code Explorer | yomemimo.com
Question : git remove untraked files

Answered by : quaint-quail-4g60ybk6l35r

# more info here:
# https://stackoverflow.com/questions/61212/how-to-remove-local-untracked-files-from-the-current-git-working-tree git clean -fd
To remove directories, run git clean -f -d or git clean -fd
To remove ignored files, run git clean -f -X or git clean -fX
To remove ignored and non-ignored files, run git clean -f -x or git clean -fx

Source : | Last Update : Tue, 08 Feb 22

Answers related to git remove untraked files

Code Explorer Popular Question For Shell