Git 安装与✏卸载
# 查看安装地址,默认地址 /usr/bin/git
which -a git
# 移除文件
cd /usr/bin
sudo rm -rf git*
Git 问题
M 1 芯片不兼容
错误
xcrun: error: unable to load libxcrun (dlopen(/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib, 0x0005): tried: ‘/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ”)), ‘/System/Volumes/Preboot/Cryptexes/OS/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib’ (no such file), ‘/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ”))).
- 重新安装 git