From: Brian Gernhardt Date: Fri, 15 May 2009 07:01:44 GMT Subject: Re: [PATCH] Showing stash state in bash prompt Message-ID: <81932ACA-EE6B-4922-9506-13DB5D6EF551@silverinsanity.com> In-Reply-To: <43d8ce650905142339p266c2f0fye1174036d6251ed0@mail.gmail.com> On May 15, 2009, at 2:39 AM, John Tapsell wrote: >>> 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