简体   繁体   English

如何忽略git中以#开头的文件

[英]How to ignore files starting with # in git

i like to know if it's possible (and if its possible how it can be achieved) to ignore files starting with # in git via .gitignore. 我想知道是否有可能(以及可能如何实现)忽略以#git开头的#gitignore文件。 I already tried 我已经试过了

\\#.myfile

with no luck. 没有运气。

这是正确的语法:

\#*

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM