Re: [PATCH] Showing stash state in bash prompt
On May 15, 2009, at 2:39 AM, John Tapsell wrote:
Show 12 quoted lines
>>> I'd often end up in a situation where I'd lose track of whether I
>>> had
>>> done a stash apply or not, and the risk of inadvertently doing a
>>> drop
>
> While we're on this - would anyone else like to see a "git unstash" as
> an alias to "git stash apply" ?
> For me it seems more natural to be able to do :
>
> git stash
> something
> git unstash
Try this:
git config --global alias.unstash "stash apply"
~~ B