git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-stash

From
LHLars 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

Previous: Johannes SchindelinNext: Bill Lear
Message 4 of 6 in “git-stash”
  1. Johannes SchindelinJun 7, 2007
  2. Lars HjemliJun 7, 2007
  3. Johannes SchindelinJun 7, 2007
  4. Lars HjemliJun 7, 2007
  5. Bill LearJun 8, 2007
  6. Matthias LederhoferJun 8, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.