.gitignore entire directory with whitespace in name

后端 未结 2 1793
隐瞒了意图╮
隐瞒了意图╮ 2021-02-13 07:11

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:31

    Correct answer is:

    TextMesh*Pro/
    

    **/TestMesh Pro/
    

    Should also work

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

    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)
提交回复
热议问题