How to git remove uncommitted filed ? git reset ?

  1. SOLUTION (n review files to be deleted)
    1. git clean -fdxn

  1. This will remove all local untracked files, so only git tracked files remain:git clean -fdx
  2. WARNING: -x will also remove all ignored files, including ones specified by .gitignore! You may want to use -n for preview of files to be deleted.

Leave a Reply