(nlpintent) ☁️ backend [2_branch] ⚡ git push origin 2_branch
Enter passphrase for key '/Users/jerry/.ssh/id_rsa':
Uploading LFS objects: 100% (2/2), 1.4 GB | 0 B/s, done.
Enumerating objects: 89, done.
Counting objects: 100% (89/89), done.
Delta compression using up to 8 threads
Compressing objects: 100% (85/85), done.
remote: fatal: pack exceeds maximum allowed size (2.00 GiB)
error: remote unpack failed: index-pack failed MiB/s
To github.com:jerrydevcodex/kiosktest.git
! [remote rejected] 2_branch -> 2_branch (failed)
error: failed to push some refs to 'github.com:jerrydevcodex/kiosktest.git'
무겁다며 못올라간다 이럴땐
1. 뭐가 문젠지 확인
git rev-list --objects --all | sort -k 2 | git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' | sed -n 's/^blob //p' | sort -n -k 2 | tail -n 10
그러면 이런식으로 뜸
7b7c6e0f81ae0f1864561d0db51a1e8d73 3612349 backend/models/menu_recommendation/food_cat_model.pkl
70f49bc28f9943fce91154b9c0 473489696 backend/saved_menu_model/tf_model.h5
a5aa4d82f0491037c4b3b743be966 473489696 backend/utils/saved_model/tf_model.h5
d820d4d19b93807d3f9cacef890f88 473489696 backend/saved_menu_model_0905/tf_model.h5
3791a3bad0631f13232979f16fe6e074 473548140 backend/intent_saved_model_0905/tf_model.h5
1dc2c852d43b6f26871772524 intent_classifier_model/tf_model.h5
오키오키 이제 파일경로 찾자
find . -name "tf_model.h5"
./utils/saved_model/tf_model.h5
./models/bert_model/tf_model.h5
오키오키 이제 다음 방법 ㄱ
git add .gitattributes
git add utils/saved_model/tf_model.h5 models/bert_model/tf_model.h5
git commit -m "Add large files to LFS"
그러면 완
'Github' 카테고리의 다른 글
깃허브 비밀번호 여러번 치라고 할 때 (0) | 2024.09.05 |
---|