# Built application files
*.apk
*.ap_
# files for the dex VM
*.dex
# Java class files
*.class
*/R.java
# generated files
bin/
gen/
# Local configuration file (sdk path, etc)
local.properties
lint.xml
*~
build.xml
# Eclipse project files
.settings/
.classpath
.metadata/
*.log
# mac
.DS_Store
._*
#lazarus
i386-linux/
# compressed files
*.tar.gz
# Generated files
bin/
gen/
# Gradle files
.gradle/
build/
# Proguard folder generated by Eclipse
proguard/
# idea
.idea/
#*.gitignore
如果只是修改java文件但是git提交的时候会有另外一些的文件也有提示修改,例如
.idea/
../.gradle/
../.idea/libraries/
../build/
../proguard-rules.pro
那就说明过滤文件还没生效,需要执行以下方法才能生效:
git rm -r --cached .
git add .
git commit -m "fixed untracked files"
时间: 2024-10-24 04:56:08