---
name: "stg-prev"
section: "1"
platform: "linux"
package: "stgit"
version: "0.18-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/stg-prev"
---

# stg-prev(1)

Print the name of the previous patch

## NAME

stg-prev - Print the name of the previous patch

## SYNOPSIS

```
stg prev
```

## DESCRIPTION

Print the name of the previous patch.

## OPTIONS

- \-b BRANCH, --branch BRANCH

  Use BRANCH instead of the default branch.

## STGIT

Part of the StGit suite - see [**stg**(1)](/stg/1.md)
