Restoring deleted files in Git: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

6 March 2026

4 March 2026

  • curprev 19:0419:04, 4 March 2026Planetoid talk contribsm 3,685 bytes +2 →‎方法二:命令列 undo
  • curprev 18:0118:01, 4 March 2026Planetoid talk contribs 3,683 bytes +3,683 Created page with "= 復原 GIT 誤刪除的檔案 = == 復原方法 == === 方法一:透過 Fork 右鍵選單 === 使用 [https://git-fork.com/ Fork Git 客戶端軟體],並且對 <code>Deleted.file</code> 右鍵選擇了 '''Reset File to'''。 # 右鍵點擊被刪除的檔案 # 選擇 '''Reset File to''' → <code>State at Commit...</code> 或 <code>State Before Commit...</code> #* <code>State at Commit...</code> → 還原到某個特定 commit 的狀態 #* <code>State Before Co..."