Git – [ERROR] internal server error 해결
- 문제
- git push/pull 시 발생
- 오래되거나 유효하지 않은 참조가 많을 경우

- 해결 방법1
- remote 브랜치 정리와 파일 정리 진행
# remote 브랜치의 더 이상 유효하지 않은 참조를 깨끗이 지우는 명령
git remote prune origin
# 저장소에 필요없는 파일을 삭제하고 남은 파일을 압축하는 “Garbage Collection” 명령
git gc --auto
- 해결 방법2
- git 저장소 복제
git clone --mirror https://github.com/spdk/spdk.git
- 해결 방법3
- 빈 저장소 생성 후 git 저장소 push
git push --mirror https://github.com/lucamilanesio/test_spdk.git