guilt-repair man page
guilt-repair — Repair the repository state
Perform various repository repairs. You must specify one mode of repair:
Tries to repair everything possible. Additionally, it resets the repository state by reseting the HEAD to what’s believed to be the proper commit, and reseting the applied stack. The end result should be a repository with no patches applied.
WARNING: Running this command may result in commits and working directory changes being lost. You may want to create a new reference (e.g., branch, or reflog) to the original HEAD before using "guilt repair".
Upgrade the status file from old format to new.
Written by Josef "Jeff" Sipek <firstname.lastname@example.org>
Documentation by Josef "Jeff" Sipek <email@example.com>
Part of the guilt(7) suite (Generated for Guilt v0.36)