在尝试使用 Git 时,我将文件的内容从 更改1
为100
,并且能够提交并在日志中看到它。但经过更多的测试和
git checkout <some_hash> // I think this is to revert the whole repo to a
// certain state
git checkout master // And this is to change the repo to the most
// current state
提交历史丢失在git log
. 发生了什么——提交是否已经进入另一个分支以及如何查看或取回它?