반응형
Notice
Recent Posts
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- gradle
- mosquitto
- Galaxy Watch
- socket.io
- Android
- firebase-database
- AWS
- Kotlin
- git
- Java8
- mqtt
- git-push
- socket-server
- google-login
- cloud-firestore
- 워치
- firebase-storage
- BottomSheetDialog
- hung-up
- Flavors
- JNI
- Firebase
- 오즈뷰어
- OZViewer
- NoSuchMethodError
- socket-client
- Dva
- ActivityResult-API
- ozd
- TIZEN
Archives
- Today
- Total
Hyeyeon blog
[Git] this exceeds GitHub's file size limit of 100.00 MB 본문
반응형
# git push 에러 발생
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com. remote: error: Trace: 064235146208ac1c34111e66858bca0a remote: error: See http://git.io/iEPt8g for more information. remote: error: File app/heavy.txt is 144.50 MB; this exceeds GitHub's file size limit of 100.00 MB
1. git-lfs 적용
git lfs install git lfs track "*.exe" git commit -m "Large file included"
2. BFG Repo-Cleaner 적용
- BFG Repo-Cleaner에서 bfg-x.x.x.jar 파일 다운로드 후 프로젝트 폴더(.git과 같은 폴더)에 위치
- Repository에서 Commit에 포함된 100MB 이상의 파일을 정리하는 명령어 실행
- Warning : no large blobs matching criteria found in packfiles — does the repo need to be packed? 발생 시,
아래 명령어 실행 후 다시 위 명령어 실행 - 계속 안되면 해당 파일 삭제 명령어 실행
java -jar bfg-x.x.x.jar --strip-blobs-bigger-than 100M
git repack && git gc
java -jar bfg-x.x.x.jar --delete-files "heavy.txt" // heavy.txt 는 100MB 이상의 파일
728x90
'개발 > etc' 카테고리의 다른 글
[Windows] V2 Credential Provider 적용하기 (0) | 2021.07.15 |
---|---|
[Firebase] Firebase Storage 버킷 만들기 (0) | 2021.05.05 |
[Git] Git Push 오류 해결 방법 (the remote end hung up unexpectedly) (0) | 2020.11.27 |
[AWS] ec2 ubuntu root 비밀번호 로그인 설정 (0) | 2020.11.18 |
[MQTT] MQTT Mosquitto 서버 userName, password 설정 (0) | 2020.11.18 |
Comments