특정 파일 관리
특정 파일의 log를 보고 되돌리고 싶을 때
// file의 history 보기
git log -p -- path/to/file
// file 되돌리기
git restore --source {COMMIT_HASH} path/to/file
// or
git checkout {COMMIT_HASH} -- path/to/file
// commit
git commit -m "Rollback file"
특정 파일의 log를 보고 되돌리고 싶을 때
// file의 history 보기
git log -p -- path/to/file
// file 되돌리기
git restore --source {COMMIT_HASH} path/to/file
// or
git checkout {COMMIT_HASH} -- path/to/file
// commit
git commit -m "Rollback file"