enter image description here

GitIgnore file does not correctly ignore files. What to do?

  • 2
    These are files that are not tracked by git. And you didn’t write correctly .gradle is a simple abstraction of the studio. - MrBin

1 answer 1

Git does not work with directories. Git works with files.

Your entry means that if the project had a .gradle file in the root of the project, it would be ignored.

In order to disable tracking files in the .gradle directory, .gradle need to use the /.gradle/** construct