摘要: 原因在于git使用的是less命令,less默认不像cat一样保留。 通过以下命令设置保留 git config --global --replace-all core.pager "less -iXFR" 执行完能从 ~/.gitconfig 文件中看到: 参考 https://serebrov. 阅读全文
posted @ 2022-03-29 16:21 feipeng8848 阅读(134) 评论(0) 推荐(0) 编辑