-2

I shifted to Ubuntu from Windows and when i cloned the project from git repository and opened it in android studio, many files appear in un-versioned files. How to get rid of them?

Attached Picture

James Z
  • 12,209
  • 10
  • 24
  • 44
Talha
  • 51
  • 9

1 Answers1

1

You need to add a .gitignore file, cf documentation

In your case:

# Gradle files
.gradle/
build/

# Local configuration file (sdk path, etc)
local.properties


# Android Studio generated files and folders
captures/
.externalNativeBuild/
.cxx/
*.apk
output.json

# IntelliJ
*.iml
.idea/

# Keystore files
*.jks
*.keystore


# Android Profiling
*.hprof
Ôrel
  • 7,044
  • 3
  • 27
  • 46