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

Warning suggestion for git stash drop

From
LHLaurent Humblet <laurent.humblet@gmail.com>
Date
Jun 29, 2017, 09:23 UTC
Message-ID
<CAFirYm_LLCUNdppZ7kKGwijJNNvhCaQtoJzRBVRsvhF+=bqgrw@mail.gmail.com>
Hi all,

Would it be possible to add an optional Yes/No when doing a 'git stash drop'? Something similar as what happens when pushing on a remotely checked out branch (with a config setting to turn the warning on/off).

I know that you can always get your dropped stash back using git reflog but a small warning might be a useful feature to avoid unwanted stash drops on a regular basis.

Thank you for your work on this amazing little software, All the best, Laurent

Next: Junio C Hamano
Message 1 of 6 in “Warning suggestion for git stash drop”
  1. Laurent HumbletJun 29, 2017
  2. Junio C HamanoJun 29, 2017
  3. Stefan BellerJun 29, 2017
  4. Laurent HumbletJun 30, 2017
  5. Junio C HamanoJun 30, 2017
  6. Laurent HumbletJul 18, 2017

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.