git clean: What does “Would not remove” mean?

前端 未结 5 2025
予麋鹿
予麋鹿 2021-01-01 13:37

When I run git clean --dry-run the results are a bit like:

Would remove an_untracked_file
Would remove an_untracked_file_2
Would not remove some         


        
5条回答
  •  长情又很酷
    2021-01-01 14:19

    If certain files and folders continue to fail when executing the command, then run a

    git clean -d -f

    The -f would force the operation.

    Use -n for a dry run.

提交回复
热议问题