I have a repository with a file, Hello.java. When I compile it, an additional Hello.class file is generated.
I created an entry for Hello.class in a .gitignore file. However, the file still appears to be tracked.
How can I make Git ignore Hello.class?