Reset a local repository that doesn’t work anymore How to Posted on November 20, 2014 | by admin git fetch --all git reset --hard origin/master http://stackoverflow.com/questions/1125968/force-git-to-overwrite-local-files-on-pull