【文件属性】:
文件名称:NewEBuy:如何找回Git删除的提交。Learn Git to find out the removed commit
文件大小:1KB
文件格式:ZIP
更新时间:2021-05-04 01:36:47
Git教学:如何找回Git删除的提交
仅仅是个演示如何找回Git删除的提交,我并没有源码
不要找我发邮件要源码了,我并没有源码。不过这个readme会更新的
你们这些点Fork的是什么心态。。。点Watch就行了
中文: 如何找回Git删除的提交
Clone一下这个仓库,下面教你找回代码。
git clone https://bitbucket.org/liruqi/newebuy.git
找一找哪一个是代码删除之前的提交
git log
把git的HEAD头指向之前代码还在的hash
git reset 45ac382f --hard
git clean
哈哈,现在你找回来了
English: Learn Git: Restore the commit which has already removed
It's only a demo. I don't have the source
【文件预览】:
NewEBuy-master
----.gitignore(494B)
----README.md(1KB)