---
name: "guilt-repair"
section: "1"
platform: "linux"
package: "guilt"
version: "0.36-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/guilt-repair"
---

# guilt-repair(1)

Repair the repository state

## NAME

guilt-repair - Repair the repository state

## SYNOPSIS

*guilt repair* --full \| --status

## DESCRIPTION

Perform various repository repairs. You must specify one mode of repair:

- \--full

  Tries to repair everything possible. Additionally, it resets the repository state by resetting the HEAD to what’s believed to be the proper commit, and resetting 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".
  ```

- \--status

  Upgrade the status file from old format to new.

## AUTHOR

Written by Josef "Jeff" Sipek \<**jeffpc@josefsipek.net**\[1\]\>

## DOCUMENTATION

Documentation by Josef "Jeff" Sipek \<**jeffpc@josefsipek.net**\[1\]\>

## GUILT

Part of the [**guilt**(7)](/guilt/7.md) suite (Generated for Guilt v0.36)

## NOTES

- 1\.

  jeffpc@josefsipek.net

  mailto:jeffpc@josefsipek.net
