Re: git stash ; git stash pop unstages all staged changes

2018-01-30 Thread Igor Djordjevic
Hi Marten, On 30/01/2018 11:05, Martin Häcker wrote: > > I just lost quite some work, because `git stash; git stash pop` > doesn’t seem to understand the concept of the index correctly. I`m afraid it actually seems you`re not fully understanding how `git stash pop` works - but the good news is

git stash ; git stash pop unstages all staged changes

2018-01-30 Thread Martin Häcker
Hi there, I just lost quite some work, because `git stash; git stash pop` doesn’t seem to understand the concept of the index correctly. To reproduce: — snip — dwt@crest ~/Desktop % mkdir test dwt@crest ~/Desktop % cd test dwt@crest ~/Desktop/test % git init Initialized empty Git repository in