Nikita Bobko <nikitabobko@xxxxxxxxx> writes: > `git checkout <hash> -- <path>` also doesn't work in my case because > if any file is removed in `<hash>` but not in my HEAD then `git > checkout` doesn't remove the file in my HEAD Look for "--no-overlay" option in "git checkout", perhaps?