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
?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…