你应该做一个git rm target/classes/test/java/NewTest$1.class. 您还可以执行git add -A以下操作来暂存删除。git add -A :/如果在较新版本的 git 上, 您可能需要执行此操作。
从那里像往常一样进行提交git commit -m "deleted file...",然后git push origin master也会在 github 上删除它(假设您位于 master 分支上)。
请务必添加*.class到您的 .gitignore 文件中。
| 归档时间: |
|
| 查看次数: |
9457 次 |
| 最近记录: |