Git command output is in editor (vim) and not directly to terminal output
GitVimGit Problem Overview
I don't know why but the output from some git command are in editor (vim) and not directly to the terminal output.
By example, the command git branch
open vim and list the branches but I would like that the output are directly in the terminal.
I didn't set vim as default editor on the git config.
My config is Ubuntu 18.04 and zsh with oh-my-zsh plugin.
Thanks in advance for your replies
Git Solutions
Solution 1 - Git
Reply to myself.
It is a default behavior change introduced in git 2.16.
With git --no-pager branch
or git config --global pager.branch false
it's ok