2. use git reflog to retrieve error reset? (The point is coming)
You can use this command if you find that everything you submitted before is gone. )
As can be seen from the above figure, we have made a wrong reset, and the following commands can be restored to the state before reset:
If you want to go back to that position, you can rewrite the log flag.
Error in git commit or rollback. Remember, don't panic, don't panic, don't panic, there is always a solution! ! !