📌  相关文章
📜  重置后 git 丢失提交 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:30.786000             🧑  作者: Mango

代码示例1
git reflog is your friend.
Find the commit that you want to be on in that list and you can reset to it
for example:git reset --hard e870e41

(If you didn't commit your changes... you might be in trouble - commit early, and commit often!)