Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有忽略的简短语法
directory/ .directory/
在我的 .gitignore (行中的东西\.?directory/)?
\.?directory/
不,Gitignore 使用 glob 模式,它只支持 '?' 和“*”通配符分别表示“一个任意字符”或“任意数量的任意字符”。