1. git-restash(1)
  2. git-restash(1)

NAME

git-restash - restash changes

SYNOPSIS

git restash [(-q|--quiet)] [stash]
git restash (-h|--help)
git restash (-v|--version)

DESCRIPTION

Removes the changes applied by a stash. This is effectively a shortcut to reverse apply a stash patch:

git stash show --patch | git apply --reverse

OPTIONS

stash

The stash whose patch should be reverse applied. If not supplied, the latest stash will be used.

-q|--quiet

Suppress all non-error output.

-h|--help

Print a simple help message.

-v|--version

Print the current version.

SEE ALSO

git-stash(1), git-apply(1)

  1. March 2016
  2. git-restash(1)