how to delete local branch with commited changes in git lab code example Example: git reset in gitlab git reset --hard HEAD^^