git remove current pull

C++
git reset --hard HEAD@{1}

Source

Also in C++: