Professional Development · IT & Digital · Module 10 — Undoing Changes and History Management

Recovering Lost Work — reflog and Dangling Commits

4 Abschnitte1 Karteikarten-Decks1 Quizze

Git's safety net for accidental history loss: git reflog records every change to HEAD, allowing recovery of commits deleted by reset or rebase; how to identify dangling commits with git fsck and cherry-pick them back.

Inhaltsübersicht

  • How Git Protects You From Yourself
  • git reflog — The HEAD Change Journal
  • git fsck — Finding Dangling Commits
  • Summary and References
Conceptual diagram of Git's object store showing reachable commits on a branch alongside dangling (orphaned) commits preserved in the object database after a reset operation
Pixabay – Pixabay License

📚 Vollständiges Lernmaterial mit 4 Abschnitten, Karteikarten und Quizzen verfügbar nach Anmeldung.

Jetzt kostenlos lernen →

Related Topics

Interaktiv lernen mit Karteikarten & Quizzen

Melde dich an und lerne Git — Version Control in Practice mit intelligenten Wiederholungen, Quizzen und KI-Lernhilfen. 7 Tage kostenlos.

Kostenlos testen