fatal: not in a git directory Error: Command failed with exit 128: git
brew 装redis报错:==>==>==>==>Fetching==>==>==>==>==>解决办法:既可。
brew 装redis报错:
brew install redis
==>Fetching dependencies for redis: ca-certificates and openssl@1.1
==>Fetching ca-certificates
==>Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles//ca-certif
Already downloaded: /Users/lishouzhuang/Library/Caches/Homebrew/downloads/9f9800e6ab85676885751e7dd738f512132b45c82bf81a4e11506e65572688aa--ca-certificates-2023-01-10.all.bottle.tar.gz
==>Fetching openssl@1.1
==>Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles//openssl%4
######################################################################## 100.0%
==>Fetching redis
==>Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles//redis-7.0
######################################################################## 100.0%
==>Installing dependencies for redis: ca-certificates and openssl@1.1
==>Installing redis dependency: ca-certificates
fatal: not in a git directory
Error: Command failed with exit 128: git
解决办法:
git config --global --add safe.directory /opt/homebrew/Library/Taps/homebrew/homebrew-core
git config --global --add safe.directory /opt/homebrew/Library/Taps/homebrew/homebrew-cask
既可
开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!
更多推荐
所有评论(0)