As shown in the figure, execute brew install redis and report an error: Command failed with exit 128:git
After entering brew -v, you will be prompted to execute two configuration commands. It is OK to copy and execute directly!
git config --global --add safe.directory /opt/homebrew/Library/Taps/homebrew/homebrew-cask Homebrew/homebrew-cask git config --global --add safe.directory /opt/homebrew/Library/Taps/homebrew/homebrew-core Homebrew/homebrew-core
See the following figure for details
- [Solved] Mac homebrew error: Error: homebrew-core is a shallow clone.
- How to Solve Error: homebrew-core is a shallow clone.
- [Solved] Mac Install homebrew Error: error: Not a valid ref: refs/remotes/origin/master
- [Solved] Curl: (22) the requested URL returned error: 404 when installing XXX on MAC brew
- How to Solve brew ERROR in `initialize‘: Version value must be a string； got a NilClass ()
- MAC: Brew upgrade Error [How to Fix]
- [Solved] Brew Install ffmpeg Error: tar: Error opening archive: Failed to open
- MAC install lightgbm and xgboost Error [How to Solve]
- tar: Error opening archive: Failed to open ‘/Users/xxx/Library/Caches/Homebrew/downloads/348a16e
- [Solved] Error: Failure while executing; `tar –extract –no-same-owner –file /Users/wangchuangyan/Library/C
- Mac Pyaudio Installation fatal error: ‘portaudio.h‘ file not found
- [app] install and compile libimobililedevice, How to solve the error
- MAC uses homebrew to install wget error [How to Solve]
- [Solved] New MAC Unity Develop Error: error installing cocoapods
- Cocoapods Install ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension.
- Git push Failed to connect to localhost port 1080 [How to Solve]
- Flutter upgrade upgrade SDK SSL_ERROR_Syscall error [How to Solve]
- How to Solve Git error: out of memory
- Connection was reset, errno 10054 Error [How to Solve]
- Git pull and Git pull origin master Warning: Pulling without specifying how to reconcile divergent branches