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

Re: Incorrect default for git stash?

From
David Kågedal <davidk@lysator.liu.se>
Date
Jun 23, 2008, 17:14 UTC
Message-ID
<87tzfk9iph.fsf@lysator.liu.se>
In-Reply-To
<911589C97062424796D53B625CEC0025E46170@USCOBRMFA-SE-70.northamerica.cexp.com>
<Patrick.Higgins@cexp.com> writes:
Show 12 quoted lines
> Eric Raible wrote:
>
>> git branch -> list branches
>> git tag    -> list tags
>> git stash  -> create a stash
>
> git commit -> list commits?
> git checkout -> list checkouts?
> git prune -> list prunes?
> git pull -> list pullables?
>
> Why would you expect stash to behave like branch and tag?
Because is kindof does.
I would prefer to have two simple commands
  git stash
  git unstash

and not bother with named stashes etc (for that I use stgit or normal branches). You'd need a way to clear the stash as well.

-- 
David Kågedal
Previous: patrick.higgins@cexp.comNext: Junio C Hamano
Message 3 of 8 in “Incorrect default for git stash?”
  1. Eric RaibleJun 17, 2008
  2. patrick.higgins@cexp.comJun 17, 2008
  3. David KågedalJun 23, 2008
  4. Junio C HamanoJun 17, 2008
  5. Eric RaibleJun 17, 2008
  6. しらいしななこJun 17, 2008
  7. Eric RaibleJun 18, 2008
  8. Jeff KingJun 17, 2008

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.