remote에 push 하려고 하는데 100MB 넘는 파일이 있어서 fail...
.gitignore에 문제 되는 파일 경로 추가reset) && .gitignore 파일에 경로 추가git resetgit reset HEAD~3
reset 명령어 정리
$ git reset [<mode>] [<commit>]--soft: index file과 변경 내용 모두 그대로. stage 상태이기 때문에 바로 commit 하면 됨--mixed: default action. index file은 리셋 하고, 변경 이력은 unstaged 상태로 유지--hard: index file과 변경 내용 모두 삭제remote에 push된 경우에는 reset 대신 revert를 사용해야 함... 벌써 복잡하다!!! 애초에 커밋은 신중하게 하자!!!