henrik-leppa / git-named-stash

POSIX/Unix shell command that allows using `git stash` command using the stashes name/message.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Git Named Stash 1.1.0

POSIX/Unix shell command that allows using git stash command using the stash's name/message.

Prerequisites

  • POSIX/Unix shell
  • git command

Usage

git-named-stash show <name-of-stash> [<git-stash-arguments>...]

or:

git-named-stash drop <name-of-stash> [<git-stash-arguments>...]

or:

git-named-stash pop <name-of-stash> [<git-stash-arguments>...]

or:

git-named-stash apply <name-of-stash> [<git-stash-arguments>...]

or:

git-named-stash push <name-of-stash> [<git-stash-arguments>...]

or:

git-named-stash (--help | -H | -h | -?)

or:

git-named-stash (--version | -V | -v)

Options

  • --help, -H, -h, -?
    • Print the help message.
  • --version, -V, -v
    • Print version and copyright information.

Notes

  • If there are multiple stashes with the same name/message, the one with the lowest index is used.

Exit codes

  • 0 (EX_OK): Successful exit
  • 64 (EX_USAGE): Incorrect arguments supplied
  • 69 (EX_UNAVAILABLE): Stash was not found

(See sysexits.h)

About

POSIX/Unix shell command that allows using `git stash` command using the stashes name/message.

License:MIT License


Languages

Language:Shell 100.0%