[x] your problem was from running the official install or uninstall script?
[x] after installation: ran brew config and brew doctor and included their output with your issue? If you couldn't install: provided your OS version with the output of your issue?
Improve the install time and bandwidth required by doing git clone only for specific branch, and only last commit.
install
oruninstall
script?brew config
andbrew doctor
and included their output with your issue? If you couldn't install: provided your OS version with the output of your issue?Improve the install time and bandwidth required by doing git clone only for specific branch, and only last commit.
What you were trying to do (and why)
install quickly
What happened (include command output)
git fetching the entire https://github.com/Homebrew/brew, downloads 73.55 MiB
Command output from original installation screen, not my git clone command
What you expected to happen
Use
--depth 1
for git fetch, so it will download only last commit, instead of entire historyNote that it downloaded only 2.95 MiB.