'HomeBrew - Error: homebrew-core is a shallow clone.'
使用 HomeBrew 如果出現 “Error: homebrew-core is a 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
即可修復該問題。