.gitignore entire directory with whitespace in name

后端 未结 2 1778
感动是毒
感动是毒 2021-02-13 07:07

Goal

Trying to ignore the annoyingly-named \"TextMesh Pro\" directory, underneath an \"Assets\" folder (full path from the root where .gitignore resides is \"Sky Labyr

相关标签:
2条回答
  • 2021-02-13 07:27

    It seems that you have missed one of the spaces between Text and Mesh. Try adding

    Assets/Text\ Mesh\ Pro/
    

    to your .gitignore

    0 讨论(0)
  • 2021-02-13 07:41

    Correct answer is:

    TextMesh*Pro/
    

    **/TestMesh Pro/
    

    Should also work

    0 讨论(0)
提交回复
热议问题