how revert a commit in remote gitlab repo code example Example: git reset in gitlab git reset --hard HEAD^^