30
다른 브랜치에있는 다른 버전의 파일을 현재 브랜치에로드하려고합니다.git : 다른 브랜치에서 현재 브랜치로 파일 체크 아웃 (머리글을 다른 브랜치로 전환하지 않음)
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? 전류 경로를 제공함으로써
머리를 위로하면 모든 커밋되지 않은 작업이 삭제됩니다. 뒤늦은 지경에도 불구하고 힘들어했다. '( –