Difference between ** and * in glob matching (.gitignore)

前端 未结 3 1398
Happy的楠姐
Happy的楠姐 2021-02-12 13:32

I have the following directory structure and files.

pw-spec/
|-- event_spec.coffee
|-- event_spec.js
|-- integration
|   `-- service
|       |-- auth_spec.coffee         


        
3条回答
  •  说谎
    说谎 (楼主)
    2021-02-12 14:26

    The difference is that ** doesn't work, at least not for everyone. See

    Why doesn't gitignore work in this case?

    You can have a separate .gitignore in pw-spec/

提交回复
热议问题