how to uncommit in one file from gitlab code example Example: git reset in gitlab git reset --hard HEAD^^