假设下面的场景:
文件
如何让
文件
a
和b
都被修改了,而且a
已经在索引中被暂存。如果你运行git stash
,然后再运行git stash pop
,文件a
就不再处于暂存状态了。如何让
git stash
返回索引到以前的状态?git stash pop --index