Which file we shouldn't commit on GitHub from Android Studio -


i working on project using android studio, using github , sourcetree also. problem when make change in project , open sourcetree see files on unstaged files list like:

  • .idea/mics.xml
  • .idea/modules.xml
  • .idea/vcs.xml
  • projectname.iml
  • app/app.iml
  • app/build.gradle
  • setting.gradle

i don't know these files should ignored or committed after changes in code. please suggest.

here .gitignore file under app folder.

# built application files /*/build/  # crashlytics configuations com_crashlytics_export_strings.xml  # local configuration file (sdk path, etc) local.properties  # gradle generated files .gradle/  # signing files .signing/  # user-specific configurations .idea/libraries/ .idea/workspace.xml .idea/tasks.xml .idea/.name .idea/compiler.xml .idea/copyright/profiles_settings.xml .idea/encodings.xml .idea/misc.xml .idea/modules.xml .idea/scopes/scope_settings.xml .idea/vcs.xml *.iml  # os-specific files .ds_store .ds_store? ._* .spotlight-v100 .trashes ehthumbs.db thumbs.db 

check out links below:

gitignore/jetbrains.gitignore @ master · github/gitignore · github - android studio

gitignore/android.gitignore @ master · github/gitignore · github - android itself


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -