I am try ignore the .idea and .gradle folders from android project while commit the code. I already added .idea and .gradle on the .gitignore file inside the app folder.
while run the command git status, It shows the files inside .idea and .gradle are showing in
Changes not staged for commit:
Here is my .gitignore file.
# idea files
.idea/
# Gradle files
.gradle/
/build