RE: Incorrect default for git stash?

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

RE: Incorrect default for git stash?

From: <hidden>
Date: 2016-06-15 22:44:47

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?

Re: Incorrect default for git stash?

From: David Kågedal <hidden>
Date: 2016-06-15 22:44:48

[off-list ref] writes:
Eric Raible wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help