Snehaa Ganesan
Snehaa Ganesan

Reputation: 509

git log macOS problems

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!

Upvotes: 2

Views: 592

Answers (1)

Snehaa Ganesan
Snehaa Ganesan

Reputation: 509

Answered by Mark Setchell :

Adding a space in between brew --prefix fixes the problem.

Upvotes: 1

Related Questions