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

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

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

30条回答
  •  星月不相逢
    2020-11-22 00:42

    git clean -f to remove untracked files from working directory.

    I have covered some basics here in my blog, git-intro-basic-commands

提交回复
热议问题