How to force update when doing git pull? March 22, 2023 by Tarik This should do the trick: git reset --hard HEAD git pull