Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.gitignore does not apply to the .cxx folder

I have this .gitignore file in my android project but does not apply to the .cxx folder. I tested everything but failed.

.cxx
app/.cxx
app/.cxx/

Android Studio

enter image description here

We had trouble working with my colleagues on this project as they changed .cxx files each time the project was build.

How can i fix this problem ?

like image 304
Mohammad ZF Avatar asked Dec 14 '22 10:12

Mohammad ZF


1 Answers

I would try something like:

*.cxx
app/.cxx/*

And before that make sure these files are not already tracked by git, once the file is in, .gitignore does not do anything for that file.

like image 121
lenik Avatar answered Dec 18 '22 00:12

lenik