在git clone的项目根目录下面有一个.gitignore文件编辑.gitignore文件,添加你想要忽略提交的文件 忽略文件夹: .settings/ target/ 忽略文件: *.project *.classpath 相关文章: