- r - 以节省内存的方式增长 data.frame
- ruby-on-rails - ruby/ruby on rails 内存泄漏检测
- android - 无法解析导入android.support.v7.app
- UNIX 域套接字与共享内存(映射文件)
在我的 Xubuntu 14.04 系统上,我使用安装了 Git
sudo apt-get install git
它工作正常(我才刚刚开始学习它),但是执行
git diff
返回
error: cannot run sensible-paper: No such file or directory
作为它的第一行。在第一行之后,它给出了文件之间的差异,换句话说,一切正常。
此外,命令
man git
(或任何其他帮助命令,如 git help commit
)返回:
man: can't execute sensible-paper: No such file or directory
man: command exited with 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 for help or q to quit)$PM Manual page git-commit(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$ MAN_PN=git-commit(1) sensible-paper)
因此我根本无法获得有关 Git 的任何帮助(从我的 shell)。我用谷歌搜索了解决方案,但找不到与上述错误类似的任何内容。任何帮助表示赞赏。
最佳答案
sensible-paper
显然是 sensible-pager
的错别字,应该是默认执行的pager。
要找出错误设置的环境变量,您可以运行
env | grep sensible-paper
无论如何要让 Git 使用 sensible-pager,运行
git config --global core.pager sensible-pager
关于linux - Git 命令执行(如 "git diff"或 "git help commit")返回关于 "sensible-paper"的错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26524559/
我想将大约 7,000 个原始分数(0 到 20,000)转换为标准化分数(0 到 100)。分数分布不正常。中位数是 270,但前 12 个分数是:18586,17151,9690,8034,772
我正在扩展现有内部框架的一部分。框架的某些部分使用包含内部类的接口(interface)定义。接口(interface)用作注释的参数值,内部类作为默认值提供。界面如下所示: public inter
假设我有两个数组指示校准曲线的 x 和 y 坐标。 X = [1,2,3,4,5,6,7,8,9,10,12,14,16,18,20,30,40,50] Y = [2,4,6,8,10,12,14,1
我正在尝试复制大约这样的 map 。 它描绘了分布在一个区域内的少量项目(学校)。对于输入,我有一个区域 map ,每个区域都有一个数字。我想把它放在该地区周围的许多点上。如果它们不跨越区域边界扩散会
在我的 Xubuntu 14.04 系统上,我使用安装了 Git sudo apt-get install git 它工作正常(我才刚刚开始学习它),但是执行 git diff 返回 error: c
我是一名优秀的程序员,十分优秀!