假设我编辑了一个文件
echo "hi" > someVersionedFile.txt
//Then I staged the file
git add .
git status
<console reads>
Changes to be committed
new file: someVersionedFile.txt
现在我对文件进行了额外的更改
echo "hi again file" >> someVersionedFile.txt
//Then I restage the file with these changes
git add .
git status
<console reads>
Changed but not commited
modified file: someVersionedFile.txt
问题:如何恢复上一个分阶段的版本?由于没有提交,这可能吗?