git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Lars Hjemli" <lh@elementstorage.no>
To: "Johannes Schindelin" <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: git-stash
Date: Fri, 8 Jun 2007 01:38:38 +0200	[thread overview]
Message-ID: <8c5c35580706071638m39bccc7xeee6b790c00af993@mail.gmail.com> (raw)
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

  parent reply	other threads:[~2007-06-07 23:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-07 22:28 git-stash Johannes Schindelin
2007-06-07 22:52 ` git-stash Lars Hjemli
2007-06-07 22:55   ` git-stash Johannes Schindelin
2007-06-07 23:38 ` Lars Hjemli [this message]
2007-06-08  0:26 ` git-stash Bill Lear
2007-06-08  6:52 ` git-stash Matthias Lederhofer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8c5c35580706071638m39bccc7xeee6b790c00af993@mail.gmail.com \
    --to=lh@elementstorage.no \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).