I have git installed and am able to run all the basic commands, except for git log.
When I try to run git log this is what I get :
⑂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
Has anyone faced this issue? I'd appreciate your thoughts!
Answered by Mark Setchell :
Adding a space in between brew --prefix fixes the problem.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.