找到你要的答案

Q:How to get rid of .ignore file in Git?

Q:如何摆脱。忽略文件在git?

I have create an ignore file , the list included .jar files . I then merged my branch to a development branch and even though I had resolved all my conflicts , I still had a lot of errors. Most of them had something to do with support.v4 (the import android.support.v4 cannot be resolved) , which I suspect is because of the .jar files that it ignored. I've seen in SourceTree everything related to support.v4 removed.

Can I just erase the ignore file somehow?

I have create an ignore file , the list included .jar files . I then merged my branch to a development branch and even though I had resolved all my conflicts , I still had a lot of errors. Most of them had something to do with support.v4 (the import android.support.v4 cannot be resolved) , which I suspect is because of the .jar files that it ignored. I've seen in SourceTree everything related to support.v4 removed.

我可以简单地删除忽略文件吗?

answer1: 回答1:

.gitignore is just like any other file under version control, so yes, you can delete it. However, keep in mind that it probably has entries in it that should be kept, so instead of deleting it, I would just modify it so that your jar files are no longer ignored.

。gitignore就像是在版本控制下的任何其他文件,所以,你可以删除它。然而,请记住,它可能有条目应该保留,所以,而不是删除它,我只是修改它,使您的JAR文件不再被忽略。

git  file  bitbucket  ignore