I have a repository with a file, Hello.java
.
(我有一个带有文件Hello.java
的存储库。)
When I compile it, an additional Hello.class
file is generated. (当我编译它时,会生成一个附加的Hello.class
文件。)
I created an entry for Hello.class
in a .gitignore
file.
(我在.gitignore
文件中为Hello.class
创建了一个条目。)
However, the file still appears to be tracked. (但是,该文件似乎仍被跟踪。)
How can I make Git ignore Hello.class
?
(如何使Git忽略Hello.class
?)
ask by Kohan95 translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…