84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
不小心在checkout分支的时候,使用--force强行切换到另一个分支(哭),导致没有add的那部分代码丢失,我尝试使用git reflog 查看日志,新建了一个tmp分支指向我移动前的那个HEAD@,但还是没办法(没有add啊)找回来。谁有什么方法能找回来麽?
说明:我重启了一次电脑了。
小伙看你根骨奇佳,潜力无限,来学PHP伐。
Remember to use it next timegit stashIt is common to lose code if you are not proficient in version control. You can check it in the IDE's history.
git stash
There is no way --force is dead.
Remember to use it next time
git stash
It is common to lose code if you are not proficient in version control. You can check it in the IDE's history.
There is no way --force is dead.