We first need to know which version you want to go back retreated
Go reflog
You can see the display better version, and then you will need to find their own version rollback
Then operation
git reset version number --hard want fallback
Then you can see HEAD is now at version number
This proves returned to the
But when you merge in gitlab, we have found that no change ah? ? ? ? Suspect returned really come? ? ?
Then do not worry, calm! ! !
Look at your local code is not the version you want? ? ? ?
If so, then execute a command
git push origin of your branch -f
For example: git push origin dev-leijia -f
Re-look remote code that does not like you, ha ha ha, simple bar