How do I get the command git branch to display its output to standard output directly instead of displaying it in a less editor?
I want to be able to do this
$ git branch * develop master Instead of typing the command (1) and see the output in a less editor (2):
(1)
$ git branch (2)
* develop master (END) I don't want to type git branch | cat every time.
git --no-pager, or set environment variableGIT_PAGER, or configurecore.pager, or configurepager.branchtofalse, etc. (Note that the default behavior used to be the equivalent of havingpager.branchset tofalse, so that's the accepted answer in the linked duplicate.)