git reset HEAD 檔案名稱 #還原檔案 恢復單一檔案到最新commit 狀態 git checkout 檔案名稱 還原工作目錄與索引, 會跟最後一次 commit 保持一樣
確定! 回上一頁