Git ignores files, why are .java files not ignored? How to view .gitignore files?
仅有的幸福
仅有的幸福 2017-05-02 09:26:49
0
3
561
# built application files
*.apk
*.ap_

# files for the dex VM
*.dex

# Java class files
*.class

# generated files
bin/
gen/

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

# Eclipse project files
proguard-project.txt

# Proguard folder generated by Eclipse
proguard/

# Intellij project files
*.iml
*.ipr
*.iws
.idea/
仅有的幸福
仅有的幸福

reply all(3)
阿神

You only ignored the *.class file compiled by java, not *.java

阿神

You can take a look at Liao Xuefeng’s GIT blog’s explanation on file ignoring.
Special files ignored

迷茫

vim .gitignore 查看.gitignore文件
如果你要忽略.java文件,需要加上 *.java

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template