1
ladypxy 2021-05-04 11:28:18 +08:00
试了下
%which git /usr/local/bin/git %git --version git version 2.31.1 你用 Homebrew 安装一下 git |
2
Conty OP @ladypxy
➜ ~ brew install git Updating Homebrew... ==> Auto-updated Homebrew! Updated 2 taps (homebrew/core and homebrew/cask). ==> Updated Formulae Updated 10 formulae. ==> New Casks tabtopus ==> Updated Casks Updated 56 casks. ==> Deleted Casks duckstation Warning: git 2.31.1 is already installed and up-to-date. To reinstall 2.31.1, run: brew reinstall git |
3
Conty OP 对不起诸位老大,这是一个愚蠢的问题。原因是我在用 Remote SSH,而远端服务器的 git 仍然是 1.8 。在将远端服务器的 git 重新 build 成 2.31 之后问题消失。
|