file -> setting -> Version Control
点击选择none就行了
.java文件红名
原文:https://www.cnblogs.com/java1-8/p/14107821.html