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

# stg-goto(1)

Push or pop patches to the given one

## NAME

stg-goto - Push or pop patches to the given one

## SYNOPSIS

```
stg goto [options] [--] <patch-name>
```

## DESCRIPTION

Push/pop patches to/from the stack until the one given on the command line becomes current.

## OPTIONS

- \-k, --keep

  Keep the local changes.

- \-m, --merged

  Check for patches merged upstream.

## STGIT

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