how to remove the pull request in git code example Example 1: git remove current pull git reset --hard HEAD@{1} Example 2: how to un pull git git reset --hard