我已经安装了git,并且能够运行除git log之外的所有基本命令。
当我尝试运行git log时,这就是我得到的:
⑂master git log
$(brew--prefix)/share/git-core/contrib/diff-highlight/diff-highlight | LESS=${LESS:-FRX} $(git var GIT_PAGER): brew--prefix: command not found
$(brew--prefix)/share/git-core/contrib/diff-highlight/diff-highlight | LESS=${LESS:-FRX} $(git var GIT_PAGER): /share/git-core/contrib/diff-highlight/diff-highlight: No such file or directory
有人遇到这个问题吗?非常感谢您的想法!
答案 0 :(得分:1)
Mark Setchell回答:
在brew --prefix之间添加空格可解决此问题。