1
我需要測試github中某些代碼的舊版本(提交)。我做了git的克隆,然後無法git克隆後立即恢復到較舊的提交(無需更改)
git revert $id
其中& ID是的,我需要檢查版本號。我得到這個錯誤:
error: could not revert 9a0d90d... Version 1.2.1
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
克隆後,我沒有任何文件的變化。
我在做什麼錯了?