how to revert the pushed changes in git lab code example Example: git reset in gitlab git reset --hard HEAD^^