I want to go back after push.

push falls back through the git revert version, but the code does not return to the workspace (the code previously modified by push is gone)

Git
Dec.06,2021

look at the version of your push in low. It's recorded as long as you go to push


View logs git log

commit ff6f405ada374c19232aec3cc8e86a4a213b5a92
Author: XX <X@X.com>
Date:   Tue Nov 20 16:14:22 2018 +0800
message

version fallback: git checkout ff6f405ada374c19232aec3cc8e86a4a213b5a92 you can roll back to this version

The code for

revert does not go to the workspace, but creates a "counter-commit"


The

git reflog command lists all the operating records, including revert, reset, and so on, so your modification records are always there and can be found.

the effect is as follows

clipboard.png

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e55278-5a359.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e55278-5a359.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?