Macos SourceTree:打开存储库(OSX)时出错
当我打开SourceTree并尝试打开我的存储库(或克隆然后打开)时,会出现以下错误:Macos SourceTree:打开存储库(OSX)时出错,macos,git,symbols,atlassian-sourcetree,Macos,Git,Symbols,Atlassian Sourcetree,当我打开SourceTree并尝试打开我的存储库(或克隆然后打开)时,会出现以下错误: 'git log' failed with code 5:' dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk Referenced from: /usr/local/git/bin/git Expected in: /usr/lib/libSystem.B.dylib dyld: Symbol not found
'git log' failed with code 5:'
dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk
Referenced from: /usr/local/git/bin/git
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ___strlcpy_chk
Referenced from: /usr/local/git/bin/git
Expected in: /usr/lib/libSystem.B.dylib
'
我安装了命令行工具()。如何解决此问题?问题源于SourceTree默认使用Git的嵌入式版本。它可能与系统版本不同,在某些情况下可能会失败 解决此问题最简单的方法之一是告诉SourceTree使用system Git:
Preferences > Git > button "Use System Git"