Re: git read-tree doesn't accept tree-ish
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 23, 2021, 19:27 UTC
- Message-ID
- <xmqq5yvwq7w5.fsf@gitster.g>
- In-Reply-To
- <CAMJzOtz_h0iEL1VQCFvvLzw3XnL+qM=f+BvkmsTU=ps+0VA7RA@mail.gmail.com>
Nikita Bobko <nikitabobko@gmail.com> 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?