相关疑难解决方法(0)

如何在git stash/git stash pop后恢复索引?

在使用git add -p向索引添加一些更改后,我发出了一个git stash,但忘了添加--keep-index.然后我愚蠢地做了一个git stash pop,我对索引的所有更改都消失了.有没有办法在git stash之前将索引恢复到状态?

git git-stash

10
推荐指数
2
解决办法
2663
查看次数

标签 统计

git ×1

git-stash ×1