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

# guilt-refresh(1)

Refresh topmost applied patch

## NAME

guilt-refresh - Refresh topmost applied patch

## SYNOPSIS

*guilt refresh* \[--git\] \[--diffstat\]

## DESCRIPTION

Refresh topmost applied patch with changes in the working copy.

## OPTIONS

- \--git

  Generate a patch which uses all the features offered by the git diff format (e.g., rename and copy detection).

- \--diffstat

  Include a diffstat output in the patch file. Useful for cases where patches will be submitted with other tools.

  If the command line option is omitted, the corresponding [git-config(1)](/git-config/1.md) option "guilt.diffstat" will be queried. So this would enable diffstat output by default:

  ```
  git config --global guilt.diffstat true
  ```

## 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
