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

Incorrect default for git stash?

From
EREric Raible <raible@gmail.com>
Date
Jun 17, 2008, 22:21 UTC
Message-ID
<loom.20080617T220852-922@post.gmane.org>

Does it bother anyone else that the default for git stash is inconsistent with branch & tag?

git branch -> list branches git tag -> list tags git stash -> create a stash

I understand that branches & tags must explicitly named and that stashes are by default automatically named.

But wouldn't it be less surprising to me if the default was 'list' instead of 'save'?

- Eric
Next: patrick.higgins@cexp.com
Message 1 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.