I accidentally committed the wrong files to Git , but I haven't pushed the commit to the server yet. 我不當心將錯誤的文件提交給Git ,可是我尚未將提交推送到服務器。 服務器
How can I undo those commits from the local repository? 如何撤消本地存儲庫中的那些提交? ide