Thread (4 messages) 4 messages, 4 authors, 2016-06-15

Re: `git stash pop` UX Problem

flat view

From: Holger Hellmuth <hidden>
Date: 2016-06-15 22:59:59

Am 24.02.2014 17:21, schrieb Matthieu Moy:
$ git add foo.txt
$ git status
On branch master
Changes to be committed:
   (use "git reset HEAD <file>..." to unstage)

         modified:   foo.txt
Maybe status should display a stash count if that count is > 0, as this is part of the state of the repo.

$ git status
On branch master
Stashes: 1                         <----------
Changes to be committed:
    (use "git reset HEAD <file>..." to unstage)

          modified:   foo.txt

It would be in Omars example case a clear message that git kept the stash. And generally a reminder that there is still a stash around that might or might not be obsolete.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help