My problem is that I can't push, because i accidentally committed a wrong file. Everytime I try to push i get FATAL ERROR: Forbidden file types detected: ... Main.class
I already tried reverting the commit, but I get the same error again. So how do I remove the file from commiting?