在reset之前的提交可以參照ORIG_HEAD。 Reset錯誤的時候,在ORIG_HEAD上reset 就可以還原到reset前的狀態。 $ git reset --hard ORIG_HEAD HEAD is now at 0d4a808 ...
確定! 回上一頁