cancel git pull code example
Example 1: git remove current pull
git reset --hard HEAD@{1}
Example 2: undo git pull
git reset --hard master@{"10 minutes ago"}
Example 3: how to reverse a git pull
git reset --hard master@{"10 minutes ago"}
-----------------------------------------
git reset --keep HEAD@{1}