Hello everyone,
我已经建立了全局的忽略文件.gitignore_global
并且把他注册到系统中git config --global core.excludesfile ~/.gitignore_global
但是,仍然不起作用。已经确定这些文件不在staged中。
以下是几个例子,麻烦大家帮我看看如何写规则
git库中,管理了30个项目,要求忽略的规则一样
Ignore all .classpath files
All files under .metedata/demo/
/exten/demo/makefile/.../output/...Ignore all sub-files in the output directory,...represents that the directory may have multiple levels.
Ignore all .class files in multi-level directories.
I use eclipse. Thanks.
*.classpath
.metedata/demo/*
/exten/demo/makefile//output/
*.class
https://www.gitignore.io/
You can try this