How to remove local (untracked) files from the current Git working tree

前端 未结 30 2233
死守一世寂寞
死守一世寂寞 2020-11-22 00:07

How do you delete untracked local files from your current working tree?

30条回答
  •  别那么骄傲
    2020-11-22 00:45

    For me only following worked:

    git clean -ffdx
    

    In all other cases, I was getting message "Skipping Directory" for some subdirectories.

提交回复
热议问题