标签:
# Local per-repo rules can be added to the .git/info/exclude file in your
# repo. These rules are not committed with the repo so they are not shared
# with others. This method can be used for locally-generated files that you
# don’t expect other users to generate, like files created by your editor.
.settings
.classpath
bin
coverage
coverage.ec
coverage.em
gen
javadoc
junit-report.xml
lint-results.*ml
lint-results_files
local.properties
monkey.txt
*~
*.iws
atlassian-ide-plugin.xml
target
build
.gradle
out
build.xml
proguard-project.txt
.idea/
*.iml
========================================================================
改动过.gitignore文件之后,在repo的根目录下运行:
git rm -r --cached .
git add .
之后可以进行提交:
git commit -m "fixed untracked files"
标签:
原文地址:http://my.oschina.net/u/244918/blog/389341