Skip to content

gtl stash

Save, inspect, apply, and clean up git stashes using focused subcommands.

Aliases

sh

Usage

bash
gtl stash [command]

Subcommands

CommandDescription
gtl stash applyApply a stash
gtl stash clearClear all stashes
gtl stash diffShow stash diff
gtl stash dropDrop a stash
gtl stash listList all stashes
gtl stash saveSave changes to stash
gtl stash showShow stash contents

Examples

bash
gtl stash list
gtl stash save -m "wip" -u
gtl stash apply 1 --drop
gtl stash show 0

Full Help

text
Save, inspect, apply, and clean up git stashes using focused subcommands.

Usage:
  gtl stash [command]

Aliases:
  stash, sh

Examples:
gtl stash list
gtl stash save -m "wip" -u
gtl stash apply 1 --drop
gtl stash show 0

Available Commands:
  apply       Apply a stash
  clear       Clear all stashes
  diff        Show stash diff
  drop        Drop a stash
  list        List all stashes
  save        Save changes to stash
  show        Show stash contents

Flags:
  -h, --help   help for stash

Use "gtl stash [command] --help" for more information about a command.

Released under the MIT License.