IT/etc
[Homebrew][Error] homebrew-core is a shallow clone.
강천구
2022. 7. 12. 16:16
homebrew를 업데이트 하기위해 아래의 명령어로 업데이트를 진행
brew update
업데이트를 시도하다보면 위와 같은 에러가 발생.
homebrew가 더 이상 shallow clone을 생성하지 않기 때문에 발생하는 현상
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow
위의 명령어 실행 후 다시 update 명령어로 진행하면 정상 동작
반응형