this exceeds GitHub's file size limit of 100.00 MB

hotbreakb·2023년 5월 30일
0

이를 해결하기 위해 LFS(Large File Storage)를 설치하였다. $ git reset soft HEAD^로 커밋을 취소했다가 다시 올리기를 반복해보았지만 계속 거절되었다.

  1. $ brew install git-lfs
    LFS 설치

  2. $ git lfs track ".yarn/**"

    • 추적할 파일(폴더) 추가
    • 내가 올릴 파일은 yarn-berry 설정으로 인해 추가된 .yarn이다.
  3. github setting 변경
    해당 에러가 발생했다면 깃허브 세팅이 되어있지 않기 때문이다.

    This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.

  4. git commit & git push

    Uploading LFS objects: 100% (321/321), 191 MB | 1.9 MB/s, done.
  5. (선택) vercel setting > git

    Error: Command "yarn install" exited with 1
    해당 설정을 하지 않았을 때 발생하는 에러

참고

profile
글쟁이 프론트 개발자, 헬렌입니다.

0개의 댓글