Git Disaster Recovery:误删 Branch 与 Hard Reset 恢复 | Git

本章覆盖:create commits;delete branch;reset --hard;detached commit;reflog;rescue branch;unreachable commit;restore working state;compare recoverable vs unrecoverable untracked data;输出操作事故报告与恢复依据。

本章知识点

  • create commits
  • delete branch
  • reset --hard
  • detached commit
  • reflog
  • rescue branch
  • unreachable commit
  • restore working state
  • compare recoverable vs unrecoverable untracked data
  • 输出操作事故报告与恢复依据