2
我的承诺已经推到Github上,让说Git的还原,然后提交,但要保留修改前恢复
A> B> C> d>电子 - HEAD
我要回复到B,所以我用
git reset --hard <B:Hash>
现在,它看起来像
A> B - HEAD
所以,如果我把它推到与git push --force
服务器,我失去了C,d,E在仓库
我如何能恢复的文件并提交给像 A> B> C的最后修订> d > E>˚F
F =退耕:乙
我不能使用git commit
,因为它说,有没有文件提交。