vim-twiggy icon indicating copy to clipboard operation
vim-twiggy copied to clipboard

More stash commands

Open okkan opened this issue 5 years ago • 1 comments

This plugin would be awesome with these command shortcuts

git stash list [<options>]
git stash show [<stash>]
git stash drop [-q|--quiet] [<stash>]
git stash ( pop | apply ) [--index] [-q|--quiet] [<stash>]
git stash branch <branchname> [<stash>]
git stash [push [-p|--patch] [-k|--[no-]keep-index] [-q|--quiet]
	     [-u|--include-untracked] [-a|--all] [-m|--message <message>]
	     [--] [<pathspec>…​]]
git stash clear
git stash create [<message>]
git stash store [-m|--message <message>] [-q|--quiet] <commit>

okkan avatar Apr 22 '19 13:04 okkan

I have thought of doing this before but I'm not sure about it. A big factor is that it falls outside the scope of branching—the only reason I provide stash and un-stash mappings are because they are required for checkout. I also don't use stashing myself other than quickly to perform an action then immediately pop. When it comes to saving WIP work, I always create a tmp commit. This means that I would be supporting a feature I would never use myself.

sodapopcan avatar Apr 25 '19 21:04 sodapopcan