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
。何が起こったのか -- コミットが別のブランチに移動した可能性と、それを表示または元に戻す方法は?