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

'git stash apply' in dirty working directory

From
DTDaniel Trstenjak <daniel.trstenjak@science-computing.de>
Date
Sep 15, 2009, 13:05 UTC
Message-ID
<20090915130526.GA26131@bug.science-computing.de>
Hi all,

isn't the stash for fumbling around with my working directory? So why I shouldn't be able to apply the stash to a dirty working directory?

I'm not even a fan of not being able to pull in a dirty working directory. There might be some arguments for it, but most of them boil down that you better should know what you're doing.

But not being able to apply the stash to a dirty working directory? Come on!

Greetings, Daniel

-- 
                                                                                                                                           
 Daniel Trstenjak         Tel   : +49 (0)7071-9457-264
 science + computing ag   FAX   : +49 (0)7071-9457-511
 Hagellocher Weg 73       mailto: Daniel.Trstenjak@science-computing.de
 D-72070 Tübingen         WWW   : http://www.science-computing.de/                                                                      
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Roland Niemeier, 
Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Michel Lepert
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 
Message 1 of 1 in “'git stash apply' in dirty working directory”
  1. Daniel TrstenjakSep 15, 2009

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.