.gitignore all files that doesn't start with a given pattern

前端 未结 0 548
生来不讨喜
生来不讨喜 2021-02-14 19:20

I want to ignore all files and folders, along with their content, that doesn\'t start with a given pattern. How do I do that?

Example: (The pattern is a dot)



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题