3 ms·
The logic is that you checkout the old file from the repository into your worktree, overwriting it. If there's something inconsistent about this, it's that it
by chousuke 5y ago
The logic is that you checkout the old file from the repository into your worktree, overwriting it.
If there's something inconsistent about this, it's that it works for individual files, but (fortunately) not for clobbering your entire worktree by checking out a branch.