我不断收到此错误:
error: Your local changes to the following files would be overwritten by merge:
.gitignore
如何让它忽略主目录中的 .gitignore 文件?
我的 .gitignore 看起来像这样并且被忽略:
# Can also ignore all directories and files in a directory.
app/config/**
app/config/**/*
plugins/**
vendors/shells/**/*
不要忽视它。
但要承诺。没有理由不保存此文件。
如果您提交它然后合并,合并将(可能正确地)添加您的规则和收到的规则。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)