프로그래밍
[Git] 대용량 파일 push 시 에러
연소민
2024. 5. 16. 20:20
728x90
반응형
용량이 커서 push 에러가 난다.
문제가 생기는 파일은 예전 커밋에서 삭제했었던 대용량 라이브러러 파일이다.
아래 커맨드로 삭제 가능하다.
git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch <file/dir>' HEAD
아래는 에러 메시지이다.
XXX.a is 808.58 MB; this exceeds GitHub's file size limit of 100.00 MB
728x90
반응형