我想将另一个分支中存在的文件的不同版本加载到我当前的分支中。
git help checkout
说:
DESCRIPTION
Updates files in the working tree to match the version in the index or
the specified tree. If no paths are given, git checkout will also
update HEAD to set the specified branch as the current branch.
有没有办法检查所有这些文件,但不更新 HEAD?