如何忽略git中以#开头的文件 [英] How to ignore files starting with # in git
本文介绍了如何忽略git中以#开头的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道是否有可能(以及如何实现它)可以通过.gitignore忽略以git开头的文件。我已经试过
\\#.myfile
$ p $没有任何运气。> b
解决方案
\#*
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. I already tried
\\#.myfile
with no luck.
解决方案Here is the right syntax for that:
\#*
这篇关于如何忽略git中以#开头的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文