Skip to content

Instantly share code, notes, and snippets.

@eddieh
Created December 30, 2020 16:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eddieh/56fbf306587482a429f0f1fa185c8945 to your computer and use it in GitHub Desktop.
Save eddieh/56fbf306587482a429f0f1fa185c8945 to your computer and use it in GitHub Desktop.
GitHub's Homebrew request
$ brew update
Error:
homebrew-core is a shallow clone.
homebrew-cask is a shallow clone.
To `brew update`, first run:
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask 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 and Homebrew/homebrew-cask. We don't do this for you
automatically to avoid repeatedly performing an expensive unshallow operation in
CI systems (which should instead be fixed to not use shallow clones). Sorry for
the inconvenience!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment