hot to revert last commirt in gitlab code example Example: git reset in gitlab git reset --hard HEAD^^