linux - Git commands execution (like "git diff" or "git help commit") returns errors about "sensible-paper" -



linux - Git commands execution (like "git diff" or "git help commit") returns errors about "sensible-paper" -

on xubuntu 14.04 scheme i've installed git using

sudo apt-get install git

it's working right (i'm starting larn it), execution of

git diff

returns

error: cannot run sensible-paper: no such file or directory

as first line. after first line gives differences between files, in other words, works right.

furthermore, command

man git

(or other help commands, git help commit) returns:

man: can't execute sensible-paper: no such file or directory man: command exited status 255: (cd /home/max/desktop/git learning && less=-ix8rmpm manual page git-commit(1) ?ltline %lt?l/%l.:byte %bb?s/%s..?e (end):?pb %pb\%.. (press h help or q quit)$pm manual page git-commit(1) ?ltline %lt?l/%l.:byte %bb?s/%s..?e (end):?pb %pb\%.. (press h help or q quit)$ man_pn=git-commit(1) sensible-paper)

and can't help on git @ (from shell). i've googled solution, couldn't find similar above errors. help appreciated.

sensible-paper typo sensible-pager, should pager executed default.

to find out environment variable mis-set, can run

env | grep sensible-paper

to inquire git utilize sensible-pager anyway, run

git config --global core.pager sensible-pager

linux git man

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -