Why does 'git stash apply' stage my changes?
I make a change and then I
git stash and then I
git stash apply
My question is
why after I
git stash apply, my change becomes ‘staged’? i.e. I won’t see anything if I do
git diff, I only see my difference if I do
git diff --cached?
Is there anyway to ‘unstage’ my changes staged by
git stash applycommand?
Is there any git command basically let me to ‘make a backup of my change, reset it to the HEAD and the copy my backup back’? I thought
git stashand then
git stash applyis that command, but some how it ‘staged’ all my changes? Is there any equivalent which let me
git stash applywithout the staged my changes part?