gitignore文件夹名称和通配符
我如何才能使用这样的名称进行gitignore: myFolder*.pizza
,
所以想法是以myFolder
开始的任何东西,只要以结尾,任何内容都将被忽略。
How can I gitignore a folder with a name like this:myfolder*.pizza
So the idea is that anything starting with myfolder
, with anything in between as long as it ends with .pizza
would be ignored.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果
myFolder*.pizza/
规则不起作用,则仅意味着已经跟踪了该文件夹中的文件。在这种情况下:
If a
myfolder*.pizza/
rule does not work, that should only mean the files in such a folder are already tracked.In that case: