how to revert to the last pull code example
Example 1: undo git pull
git reset --hard master@{"10 minutes ago"}
Example 2: get back some commits git
git revert {commit_id}'
git reset --hard master@{"10 minutes ago"}
git revert {commit_id}'