private로 해야합니다

https://rtyley.github.io/bfg-repo-cleaner/

image.png

  1. 새폴더에 Gitlab clone
git clone --mirror <https://lab.ssafy.com/s12-fintech-finance-sub1/S12P21D108.git>
cd S12P21D108.git
  1. BFG 파일넣고 명령어 입력
# 1. BFG 실행 (선택적으로 필요)
java -jar bfg-1.15.0.jar --delete-files '*.hprof'

# 2. Git 히스토리 정리
git reflog expire --expire=now --all
git gc --prune=now --aggressive

2 -1. bfg 파일 제거

  1. 깃허브 저장소로 옮기고 push
git remote set-url origin <https://github.com/user/your-repo.git>
git push --mirror