I just cloned a remote repository into my local VM.
When I run git log
or git diff
, it is showing
error: cannot run most: No such file or directory
I couldn't find any answer related to this issue in the web, thats why Im posting here. Any clues ??
Looks like git try to run program named most and cant find it.
Open your ~/.gitconfig
and you probably will see there incorrect settings pointing to most
How to fix it?
The easiest way is simply to remove this configuration from the config file. (delete the pager entry)
Another way is to set the desired pager :
# set vim as the pager handler
git config --global core.pager 'vim -'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With