gitignore directory pattern ignores folder with same suffix, but I want to include it

前端 未结 3 1395
春和景丽
春和景丽 2021-01-04 01:43

I have the following directory structure:

src/
out/
cout/
...

and I want to ignore out/ but not cout/.

I\'ve tried pu

3条回答
  •  爱一瞬间的悲伤
    2021-01-04 01:57

    Which version of git are you using?

    With msysgit 1.6.3-preview20090507-2, the simple

    out/
    

    works for me. cout/ is still added to the repository.

提交回复
热议问题