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

# stg-top(1)

Print the name of the top patch

## NAME

stg-top - Print the name of the top patch

## SYNOPSIS

```
stg top
```

## DESCRIPTION

Print the name of the current (topmost) 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)
