mirror of
https://gh-proxy.org/https://github.com/klinsmaya/dashjim.github.com.git
synced 2026-11-09 18:06:56 +08:00
modify post 14-02-03
This commit is contained in:
@@ -75,7 +75,7 @@ git reset --hard 4a155e5
|
||||
and then
|
||||
git push -f origin master
|
||||
```
|
||||
**Notice: git revert will not work here!**
|
||||
**Notice** git revert will not work here! `git revert` can only revert one commit. If you have commit `11,22,33,44,` and you `git revert 22` then you will have commit `11,33,44`, but if you `git reset --hard 22` and commit, then you could only have `11` in your commit history.
|
||||
|
||||
### How to find a lost commit?
|
||||
--------------
|
||||
|
||||
Reference in New Issue
Block a user