Skip to content

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

License

Notifications You must be signed in to change notification settings

henrik-leppa/git-named-stash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages