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>'
克隆后,我没有任何文件的变化。
我在做什么错了?