git checkout [branch] [file]
하면 파일 하나만 가져온다.
git reset HEAD [file]
git revert [commit 명]
이전의 커밋으로 되돌림.
이력이 남음.
(이력이 남지 않는 것은 git reset)
git checkout [branch] [file]
하면 파일 하나만 가져온다.
git reset HEAD [file]
git revert [commit 명]
이전의 커밋으로 되돌림.
이력이 남음.
(이력이 남지 않는 것은 git reset)