How do I delete all untracked files from my working directory in Mercurial?

前端 未结 10 594
长情又很酷
长情又很酷 2021-01-29 18:11

Is it possible to delete all untracked files from my working directory? Let\'s say I added a bunch of files to my working directory, didn\'t add them via \'hg add\' and now want

10条回答
  •  轮回少年
    2021-01-29 19:02

    You can use

    hg purge --all
    

    to remove all the ignored and untracked files

    (first you need to install the purge extension as explained in some answers)

提交回复
热议问题