Netbeans and Git, .obj files ignored

坚强是说给别人听的谎言 提交于 2019-12-05 07:18:55
VonC

You can easily find which .gitignore (and which rule) is responsible for ignoring your .obj file using git check-ignore:

git check-ignore -v -- dragon.obj

The OP reports:

"D:\\Documents\\gitignore_global.txt":5:*.obj –

That is similar to this comment:

it was the installation of SourceTree (a tool visualize git repo) which un-logically created under documents folder a gitignore_global.txt which included plenty of exclusions.

A git config -l should show something similar to:

[core] 
   excludesfile = C:\\Users\\username\\Documents\\gitignore_global.txt
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!