how to abort merging pull in gitlab local code example Example: git reset in gitlab git reset --hard HEAD^^