There are some entiy classes in my project. Eclipse autogenerates helper classes from them on every now and then. Since there is some date info, these classes change every time and therefore I’d like to ignore them in Git. But how can that be accomplished?
So, I have some classes:
[font=courier new]
files/in/a/path/Class1.java
files/in/a/path/Class2.java
files/in/a/path/Class3.java
And Eclipse generated following files:
files/in/a/path/Class1_.java
files/in/a/path/Class2_.java
files/in/a/path/Class3_.java
Ignoring them in Git seems to require some extra magic. Following directions don’t seem to work:
files/in/a/path/_.java
files/in/a/path/[]
.java
*.java
*[_]
.java
Any better suggestions?
[/font]