taking back to a particular commit version in gitlab code example Example: git reset in gitlab git reset --hard HEAD^^