シンプルなシェル出力を持つ difftool を使用する場合、core.pager
.gitconfig セクションで設定されたページャーを使用するにはどうすればよいですか?
1 に答える
3
git help config
言います:
pager.<cmd>
If the value is boolean, turns on or off pagination of the output of a particular
git subcommand when writing to a tty. Otherwise, turns on pagination for the
subcommand using the pager specified by the value of pager.<cmd>. If --paginate or
--no-pager is specified on the command line, it takes precedence over this option.
To disable pagination for all commands, set core.pager or GIT_PAGER to cat.
したがって、必要なのは[pager]
.gitconfig にセクションを追加してdifftool = true
そこに配置することだけです。
于 2013-12-04T21:08:54.270 に答える