how to reset a branch to a specific commit gitlab code example Example: git reset in gitlab git reset --hard HEAD^^