git checkout HEAD~2 hello.txt 就是讓hello.txt 內容回到兩個commit ... reset 指令比較像是前往或移到某個版本,並不是我們習慣理解成重設的意思。
確定! 回上一頁