Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why Android Studio (3.4) created .gitignore doesn't exclude all `/.idea`?

Whenever a new Android Studio project is created (I'm using Android Studio 3.4), the .gitignore content is as below.

*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild

Why isn't entire /.idea to be ignore but only the selective few? Are the remaining of any special use?

like image 257
Elye Avatar asked May 28 '19 12:05

Elye


1 Answers

There are some that you generally want to check into version control (anything project-specific but not user-specific). See What to gitignore from the .idea folder? for more information. If you don't want to version control them, you can exclude the whole directory.

like image 103
Solomon Ucko Avatar answered Sep 21 '22 16:09

Solomon Ucko