Re: git-stash
- From
- Lars Hjemli <lh@elementstorage.no>
- Date
- Jun 7, 2007, 23:38 UTC
- Message-ID
- <8c5c35580706071638m39bccc7xeee6b790c00af993@mail.gmail.com>
- In-Reply-To
- <Pine.LNX.4.64.0706072328000.4046@racer.site>
On 6/8/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> I just was in the need for git-stash (for the 1e6th time this year), but > instead of writing a script, I though I'd try the "!" convention for > aliases.
Fwiw, here's a very simple unstash:
git config alias.unstash '!git diff --binary stash^ stash | git-apply -'
-- larsh