how to remove pull request from git code example Example: git remove current pull git reset --hard HEAD@{1}