git checkout ハッシュ値で該当コミットに移動した後に最新のコミットに移動したい場合は、git checkout mainを実行すれば良い updated: 2025/11/23 created: 2025/11/23