homebrew-core is a shallow clone

Bug fix Error: homebrew-core is a shallow clone. To `brew update` first run

Error

Error: homebrew-core is a shallow clone. To `brew update` first run:
git -C “/ usr / local / Homebrew / Library / Taps / homebrew / homebrew-core” fetch —unshallow
This restriction has been made on GitHub’s request because updating shallow
clones is an extremely expensive operation due to the tree layout and traffic of
Homebrew / homebrew-core. We don’t do this for you automatically to avoid
repeatedly an expensive unshallow operation in performing CI systems (which
should instead be fixed to not use shallow clones). Sorry for the inconvenienc

Correction

Run in console:

git -C “/ usr / local / Homebrew / Library / Taps / homebrew / homebrew-core” fetch –unshallow

If it doesn’t help also try:

git -C “/ usr / local / Homebrew / Library / Taps / homebrew / homebrew-cask” fetch –unshallow

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *