힘내 특정 파일을 재설정
git checkout c5f567 -- file1/to/restore file2/to/restore
힘내 재설정 한 파일
git checkout HEAD -- my-file.txt
파일을 특정 개정판으로 재설정하거나 되돌리려면 어떻게해야합니까?
git reset <commit hash> <filename>
힘내 되돌리기 하나의 파일
git checkout HEAD -- /directory/my-file.txt
고정되지 않은 변경 사항 되돌리기 git
git checkout -- .
단일 파일에 대한 자식 되돌리기 커밋
git checkout <commit_hash> path/to/file