Ich habe ein Projekt in Android Studio mit .gitignore-Datei erstellt.Warum .gitignore funktioniert nicht für das neue Projekt in Android Studio?
.DS_Store
# built application files
*.apk
*.ap_
# files for the dex VM
*.dex
# Java class files
*.class
# generated files
bin/
out/
gen/
# Libraries used by the app
# Can explicitly add if we want, but shouldn't do so blindly. Licenses, bloat, etc.
/libs
# Build stuff (auto-generated by android update project ...)
build.xml
ant.properties
local.properties
project.properties
# Eclipse project files
.classpath
.project
# idea project files
.idea/
.idea/.name
*.iml
*.ipr
*.iws
##Gradle-based build
.gradle
build/
Danach benutzte ich git init
Befehl in Projektverzeichnis.
git add .
und git status
Befehle
git status
Befehl mit leeren Wert
Die Version von Git ist 1.9.1. Ich verstehe nicht, warum diese Dateien zum Commit hinzugefügt wurden.